fix: persist workspace Python environments

This commit is contained in:
wuyang
2026-07-26 20:20:37 +08:00
parent bc30a480ad
commit 2fbb5698ac
14 changed files with 170 additions and 20 deletions
+2
View File
@@ -130,6 +130,7 @@ services:
INTERNAL_GATEWAY_KEY: ${INTERNAL_GATEWAY_KEY:?INTERNAL_GATEWAY_KEY is required}
DATABASE_URL: postgresql+asyncpg://${POSTGRES_USER:-agent}:${POSTGRES_PASSWORD:?POSTGRES_PASSWORD is required}@postgres:5432/${POSTGRES_DB:-agent}
GATEWAY_URL: http://gateway:8001
TOOL_TIMEOUT_SECONDS: ${TOOL_TIMEOUT_SECONDS:-900}
depends_on:
postgres:
condition: service_healthy
@@ -163,6 +164,7 @@ services:
WORKSPACE_PIDS_LIMIT: ${WORKSPACE_PIDS_LIMIT:-512}
WORKSPACE_SSH_HOST: ${WORKSPACE_SSH_HOST:-}
WORKSPACE_DOWNLOAD_MAX_BYTES: ${WORKSPACE_DOWNLOAD_MAX_BYTES:-134217728}
TOOL_TIMEOUT_SECONDS: ${TOOL_TIMEOUT_SECONDS:-900}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks: