Files
totalmcp/docker-compose.yml
T

22 lines
723 B
YAML
Raw Normal View History

2026-05-09 22:18:00 -05:00
services:
totalmcp:
build: .
container_name: totalmcp-dev
ports:
- "8811:8811"
env_file:
- .env
volumes:
- ./data:/app/data
2026-05-09 22:59:43 -05:00
# Read-write socket needed for docker_start/stop/restart_container.
# Drop the trailing `:rw` (default) and add `:ro` if you only want list/logs/stats.
- /var/run/docker.sock:/var/run/docker.sock
# Phase 3: mount CODEX DB for the codex-mrp plugin (uncomment if running CODEX locally)
# - /mnt/user/appdata/codex/db.sqlite:/app/codex/db.sqlite
2026-05-09 22:18:00 -05:00
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:8811/health || exit 1"]
interval: 30s
timeout: 10s
start_period: 15s