services: mcp-server-demo: build: . image: mcp-server-demo:latest container_name: mcp-server-demo restart: unless-stopped ports: - "8001:8001" env_file: - .env.production healthcheck: test: ["CMD", "python", "-c", "import socket; s=socket.create_connection(('127.0.0.1', 8001), timeout=3); s.close()"] interval: 30s timeout: 5s retries: 3 start_period: 10s