Files
ai-agent-book/chapter9/gaia-experience/AWorld/env/virtualpc-mcp/docker-compose.yaml
T
liqiang b119135836
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
2026-08-20 13:12:50 +00:00

51 lines
1.2 KiB
YAML

services:
mcp-gateway:
build:
context: mcp_gateway
dockerfile: Dockerfile_mcp_gateway
platform: linux/amd64
ports:
- 8000:8000
environment:
MCP_GATEWAY_TOKEN_SECRET: "${MCP_GATEWAY_TOKEN_SECRET:-123321}"
VNC_AUTH: false
MCP_GATEWAY_REDIS_URL: redis://redis-server:6379/0
restart: on-failure:3
depends_on:
- redis-server
deploy:
resources:
limits:
memory: 2G
container-server:
build:
context: .
dockerfile: container_server/Dockerfile_container_server
platform: linux/amd64
restart: on-failure:3
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: ["uv", "run", "--no-sync", "-m", "container_server.main"]
environment:
VIRTUALPC_MCP_SERVER_IMAGE_ID: gaia-mcp-server
GATEWAY_SERVER_ADDR: http://mcp-gateway:8000
deploy:
resources:
limits:
memory: 8G
redis-server:
image: redis:7.2-alpine
platform: linux/amd64
ports:
- 6379:6379
volumes:
- ./.data/redis-data:/data
restart: on-failure:3
deploy:
resources:
limits:
memory: 2G