daytona resources

This commit is contained in:
marko-kraemer 2025-04-22 20:26:12 +01:00
parent 136c1bf88c
commit 4cac31db55
1 changed files with 6 additions and 1 deletions

View File

@ -112,7 +112,12 @@ def create_sandbox(password: str):
9222, # Chrome remote debugging port 9222, # Chrome remote debugging port
8080, # HTTP website port 8080, # HTTP website port
8002, # The browser api port 8002, # The browser api port
] ],
resources={
"cpu": 2,
"memory": 4,
"disk": 5,
}
)) ))
logger.info(f"Sandbox created with ID: {sandbox.id}") logger.info(f"Sandbox created with ID: {sandbox.id}")