--- volumes: workspace: external: true name: turnstone_workspace services: mcp-linkgen: build: . env_file: .env ports: - "${PORT:-8000}:${PORT:-8000}" volumes: - "${WORKSPACE_ROOT:-workspace}:/workspace" restart: unless-stopped healthcheck: test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:{PORT:-8000}/health')"] interval: 30s timeout: 10s retries: 3 start_period: 10s