|
|
|
@@ -2,8 +2,8 @@ services: |
|
|
|
sandbox-executor-manager: |
|
|
|
container_name: sandbox-executor-manager |
|
|
|
build: |
|
|
|
context: . |
|
|
|
dockerfile: executor_manager/Dockerfile |
|
|
|
context: ./executor_manager |
|
|
|
dockerfile: Dockerfile |
|
|
|
image: sandbox-executor-manager:latest |
|
|
|
runtime: runc |
|
|
|
privileged: true |
|
|
|
@@ -18,8 +18,8 @@ services: |
|
|
|
- no-new-privileges:true |
|
|
|
environment: |
|
|
|
- SANDBOX_EXECUTOR_MANAGER_POOL_SIZE=${SANDBOX_EXECUTOR_MANAGER_POOL_SIZE:-5} |
|
|
|
- SANDBOX_BASE_PYTHON_IMAGE=${SANDBOX_BASE_PYTHON_IMAGE-"sandbox-base-python:latest"} |
|
|
|
- SANDBOX_BASE_NODEJS_IMAGE=${SANDBOX_BASE_NODEJS_IMAGE-"sandbox-base-nodejs:latest"} |
|
|
|
- SANDBOX_BASE_PYTHON_IMAGE=${SANDBOX_BASE_PYTHON_IMAGE-sandbox-base-python:latest} |
|
|
|
- SANDBOX_BASE_NODEJS_IMAGE=${SANDBOX_BASE_NODEJS_IMAGE-sandbox-base-nodejs:latest} |
|
|
|
- SANDBOX_ENABLE_SECCOMP=${SANDBOX_ENABLE_SECCOMP:-false} |
|
|
|
- SANDBOX_MAX_MEMORY=${SANDBOX_MAX_MEMORY:-256m} # b, k, m, g |
|
|
|
- SANDBOX_TIMEOUT=${SANDBOX_TIMEOUT:-10s} # s, m, 1m30s |