-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
173 lines (161 loc) · 4.81 KB
/
Copy pathdocker-compose.yml
File metadata and controls
173 lines (161 loc) · 4.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
services:
# ── CI Services ────────────────────────────────────────────────
rust-ci:
build:
context: .
dockerfile: docker/rust-ci.Dockerfile
user: "${USER_ID:-1000}:${GROUP_ID:-1000}"
volumes:
- .:/app
- cargo-registry-cache:/tmp/cargo
environment:
- CARGO_HOME=/tmp/cargo
- RUSTUP_HOME=/usr/local/rustup
- CARGO_INCREMENTAL=1
- CI=true
working_dir: /app
command: ["/bin/bash"]
stdin_open: true
tty: true
profiles:
- ci
playwright:
build:
context: .
dockerfile: docker/playwright.Dockerfile
user: "${USER_ID:-1000}:${GROUP_ID:-1000}"
network_mode: host
volumes:
- ./tests/browser:/work
environment:
- CI=true
- PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
- HOME=/tmp
working_dir: /work
profiles:
- ci
# ── Agent MCP Services ────────────────────────────────────────
# These services use pre-built Docker images from template-repo.
# They are NOT buildable from this repo -- source code lives in
# template-repo under tools/mcp/mcp_<name>/.
#
# To build them (one-time, from template-repo checkout):
# cd /path/to/template-repo
# docker compose --profile services build
#
# Images follow the naming convention: template-repo-mcp-<name>:latest
# The .mcp.json file in this repo configures Claude Code to launch
# these services via `docker compose --profile services run`.
mcp-code-quality:
image: template-repo-mcp-code-quality:latest
volumes:
- ./:/app:ro
- /tmp:/tmp
environment:
- RUST_LOG=info
- MCP_CODE_QUALITY_ALLOWED_PATHS=/app,/workspace,/home
profiles:
- services
mcp-content-creation:
image: template-repo-mcp-content-creation:latest
volumes:
- ./outputs/mcp-content:/output
- .:/app:ro
environment:
- RUST_LOG=info
- MCP_OUTPUT_DIR=/output
- MCP_PROJECT_ROOT=/app
- MCP_HOST_PROJECT_ROOT=${PWD}
profiles:
- services
mcp-gemini:
image: template-repo-mcp-gemini:latest
volumes:
- ~/.gemini:/home/geminiuser/.gemini
- ./:/workspace:ro
environment:
- PYTHONUNBUFFERED=1
- GEMINI_API_KEY=${GOOGLE_API_KEY:-}
- GOOGLE_API_KEY=
- GEMINI_TIMEOUT=${GEMINI_TIMEOUT:-300}
- GEMINI_USE_CONTAINER=false
- HOME=/home/geminiuser
profiles:
- services
mcp-opencode:
image: template-repo-mcp-opencode:latest
volumes:
- ./:/app:ro
environment:
- PORT=8014
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
- OPENCODE_ENABLED=${OPENCODE_ENABLED:-true}
- OPENCODE_MODEL=${OPENCODE_MODEL:-qwen/qwen-2.5-coder-32b-instruct}
profiles:
- services
mcp-crush:
image: template-repo-mcp-crush:latest
volumes:
- ./:/app:ro
environment:
- PORT=8015
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
- CRUSH_ENABLED=${CRUSH_ENABLED:-true}
profiles:
- services
# DISABLED — OpenAI Codex removed from pipeline due to security risk.
# OpenAI's partnerships with governments conducting mass surveillance and
# enabling autonomous weapons make this tool unsafe. See AGENTS.md.
# mcp-codex:
# image: template-repo-mcp-codex:latest
# user: "${USER_ID:-1000}:${GROUP_ID:-1000}"
# volumes:
# - ./:/workspace:ro
# - ~/.codex:/home/user/.codex:rw
# environment:
# - MODE=mcp
# - PORT=8021
# - CODEX_ENABLED=${CODEX_ENABLED:-false}
# - CODEX_AUTH_PATH=/home/user/.codex/auth.json
# profiles:
# - services
mcp-github-board:
image: template-repo-mcp-github-board:latest
volumes:
- ./:/app:ro
environment:
- RUST_LOG=info
- GITHUB_TOKEN=${GITHUB_TOKEN}
- GITHUB_REPOSITORY=${GITHUB_REPOSITORY}
- GITHUB_PROJECT_NUMBER=${GITHUB_PROJECT_NUMBER:-1}
profiles:
- services
mcp-agentcore-memory:
image: template-repo-mcp-agentcore-memory:latest
user: "${USER_ID:-1000}:${GROUP_ID:-1000}"
volumes:
- .:/app:ro
- ${HOME}/.aws:/home/appuser/.aws:ro
environment:
- HOME=/home/appuser
- PYTHONUNBUFFERED=1
- PORT=8023
- MEMORY_PROVIDER=${MEMORY_PROVIDER:-chromadb}
- AWS_REGION=${AWS_REGION:-us-east-1}
- CHROMADB_HOST=chromadb
- CHROMADB_PORT=8000
- CHROMADB_COLLECTION=${CHROMADB_COLLECTION:-agent_memory}
profiles:
- services
- memory
mcp-reaction-search:
image: template-repo-mcp-reaction-search:latest
volumes:
- reaction-search-cache:/home/mcp/.cache
environment:
- RUST_LOG=info
profiles:
- services
volumes:
cargo-registry-cache:
reaction-search-cache: