fix
This commit is contained in:
@@ -2570,7 +2570,7 @@ CONFIG_METADATA_3 = {
|
||||
"provider_settings.sandbox.enable": True,
|
||||
"provider_settings.sandbox.booter": "shipyard",
|
||||
},
|
||||
"_special": "check_shipyard_connection"
|
||||
"_special": "check_shipyard_connection",
|
||||
},
|
||||
"provider_settings.sandbox.shipyard_access_token": {
|
||||
"description": "Shipyard Access Token",
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
import boxlite
|
||||
|
||||
|
||||
async def boot(session_id: str) -> None:
|
||||
box = boxlite.SimpleBox(
|
||||
image="soulter/shipyard-ship",
|
||||
memory_mib=512,
|
||||
cpus=1,
|
||||
ports=[{
|
||||
"host_port": 12345,
|
||||
"guest_port": 8123,
|
||||
}],
|
||||
)
|
||||
|
||||
await box.start()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import asyncio
|
||||
|
||||
asyncio.run(boot("test-session"))
|
||||
Reference in New Issue
Block a user