将flask改成fastapi
This commit is contained in:
9
sandbox/.env.example
Normal file
9
sandbox/.env.example
Normal file
@@ -0,0 +1,9 @@
|
||||
# Copy this file to `.env` and modify as needed
|
||||
|
||||
SANDBOX_EXECUTOR_MANAGER_POOL_SIZE=5
|
||||
SANDBOX_BASE_PYTHON_IMAGE=sandbox-base-python:latest
|
||||
SANDBOX_BASE_NODEJS_IMAGE=sandbox-base-nodejs:latest
|
||||
SANDBOX_EXECUTOR_MANAGER_PORT=9385
|
||||
SANDBOX_ENABLE_SECCOMP=false
|
||||
SANDBOX_MAX_MEMORY=256m # b, k, m, g
|
||||
SANDBOX_TIMEOUT=10s # s, m, 1m30s
|
||||
Reference in New Issue
Block a user