-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (24 loc) · 1010 Bytes
/
docker-compose.yml
File metadata and controls
24 lines (24 loc) · 1010 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
services:
process-mcp:
build: .
# --init is redundant since the image ships tini, but keeping it doesn't hurt.
init: true
ports:
- "7778:7778"
environment:
# REQUIRED. The server binds to 0.0.0.0 inside the container and will
# refuse to start without an API key (or --allow-insecure). Put your
# value in a .env file next to this compose file, e.g.
# PROC_MCP_API_KEY=$(openssl rand -hex 32)
- PROC_MCP_API_KEY
- PROC_MCP_CORS_ORIGIN=${PROC_MCP_CORS_ORIGIN:-null}
- PROC_MCP_LOG_LINES=${PROC_MCP_LOG_LINES:-10000}
- PROC_MCP_GRAVE_TTL_SEC=${PROC_MCP_GRAVE_TTL_SEC:-3600}
- PROC_MCP_MAX_SESSIONS=${PROC_MCP_MAX_SESSIONS:-100}
- PROC_MCP_MAX_PROCESSES=${PROC_MCP_MAX_PROCESSES:-200}
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:7778/health').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s