-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (30 loc) · 987 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
32 lines (30 loc) · 987 Bytes
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
# ─────────────────────────────────────
# MCPlex Docker Compose
# Run: docker compose up -d
# ─────────────────────────────────────
services:
mcplex:
build: .
container_name: mcplex-gateway
ports:
- "3100:3100" # MCP endpoint
- "9090:9090" # Dashboard
volumes:
- ./mcplex.toml:/app/mcplex.toml:ro
- mcplex-logs:/app/logs
environment:
- RUST_LOG=info
# Pass secrets via env vars (referenced in mcplex.toml as ${GITHUB_TOKEN})
- GITHUB_TOKEN=${GITHUB_TOKEN:-}
- SLACK_TOKEN=${SLACK_TOKEN:-}
- MCPLEX_API_KEY=${MCPLEX_API_KEY:-}
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3100/health"]
interval: 15s
timeout: 3s
retries: 3
start_period: 5s
volumes:
mcplex-logs:
driver: local