services: totalmcp: build: . container_name: totalmcp-dev ports: - "8811:8811" env_file: - .env volumes: - ./data:/app/data # 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 restart: unless-stopped healthcheck: test: ["CMD-SHELL", "wget -qO- http://localhost:8811/health || exit 1"] interval: 30s timeout: 10s start_period: 15s