Files
compose-anything/mcp-servers/notion/docker-compose.yaml
2025-11-05 20:26:14 +08:00

33 lines
773 B
YAML

x-defaults: &defaults
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
services:
mcp-notion:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}mcp/notion:${MCP_NOTION_VERSION:-latest}
environment:
- INTERNAL_INTEGRATION_TOKEN=${INTERNAL_INTEGRATION_TOKEN}
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_NOTION_PORT_OVERRIDE:-8000}:8000"
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
deploy:
resources:
limits:
cpus: '1.00'
memory: 512M
reservations:
cpus: '0.25'
memory: 128M