Files
grist-mcp-server/deploy/prod/docker-compose.yml

19 lines
596 B
YAML

# Production environment
services:
grist-mcp:
image: ghcr.io/xe138/grist-mcp-server:latest@sha256:46be446d3d3b04fcbcb9b4e4214a7e9ec4d172e7a161f533d300448c181c9818
ports:
- "${PORT:-3000}:3000"
volumes:
- ./config.yaml:/app/config.yaml:ro
environment:
- CONFIG_PATH=/app/config.yaml
- EXTERNAL_PORT=${PORT:-3000}
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:3000/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s