This commit is contained in:
Soulter
2026-01-13 01:48:45 +08:00
parent ea7c387fcb
commit a89e7b3f55
17 changed files with 6281 additions and 84 deletions

21
test.py Normal file
View File

@@ -0,0 +1,21 @@
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"))