# One service per wrapper. Start only what you need, for example: # REPO=/path/to/repo GITHUB_TOKEN=... docker compose -f docker/compose.yml up --build copilot # Ports are published on 127.0.0.1 only: the wrappers have no authentication. # Sign-in for each provider: docs/guides/docker.md x-build: &build context: .. services: copilot: build: { <<: *build, dockerfile: a2a-copilot/Dockerfile } ports: ["127.0.0.1:3000:3000"] environment: [GITHUB_TOKEN] volumes: ["${REPO:?set REPO to a git repository}:/workspace", "copilot-home:/home/node/.copilot"] claude: build: { <<: *build, dockerfile: a2a-claude/Dockerfile } ports: ["127.0.0.1:3030:3030"] environment: [ANTHROPIC_API_KEY] volumes: ["${REPO:?set REPO to a git repository}:/workspace", "claude-home:/home/node/.claude"] codex: build: { <<: *build, dockerfile: a2a-codex/Dockerfile } ports: ["127.0.0.1:3020:3020"] environment: [CODEX_API_KEY, OPENAI_API_KEY, CODEX_MODEL] volumes: ["${REPO:?set REPO to a git repository}:/workspace", "codex-home:/home/node/.codex"] opencode: build: { <<: *build, dockerfile: a2a-opencode/Dockerfile } ports: ["127.0.0.1:3001:3000"] environment: OPENCODE_URL: ${OPENCODE_URL:-http://host.docker.internal:4096} OPENCODE_SERVER_PASSWORD: ${OPENCODE_SERVER_PASSWORD:-} extra_hosts: ["host.docker.internal:host-gateway"] antigravity: build: { <<: *build, dockerfile: a2a-antigravity/Dockerfile } ports: ["127.0.0.1:3040:3040"] environment: [GEMINI_API_KEY] volumes: ["${REPO:?set REPO to a git repository}:/workspace"] volumes: copilot-home: claude-home: codex-home: