-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 823 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (33 loc) · 823 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
33
34
35
36
version: '3.8'
services:
mcp-devbench:
build:
context: .
dockerfile: Dockerfile
container_name: mcp-devbench
environment:
# Configuration
- MCP_ALLOWED_REGISTRIES=docker.io,ghcr.io
- MCP_STATE_DB=/data/state.db
- MCP_DRAIN_GRACE_S=60
- MCP_TRANSIENT_GC_DAYS=7
- MCP_LOG_LEVEL=INFO
- MCP_LOG_FORMAT=json
- MCP_HOST=0.0.0.0
- MCP_PORT=8000
volumes:
# Mount Docker socket for container management (sibling Docker pattern)
- /var/run/docker.sock:/var/run/docker.sock
# Persistent state database
- mcp-devbench-data:/data
ports:
- "8000:8000"
restart: unless-stopped
networks:
- mcp-devbench-net
networks:
mcp-devbench-net:
driver: bridge
volumes:
mcp-devbench-data:
driver: local