services: kuma-strapper: build: context: . dockerfile: Dockerfile container_name: kuma-strapper ports: - "5000:5000" environment: # Required: Base64-encoded SSH private key - SSH_PRIVATE_KEY=${SSH_PRIVATE_KEY} # Required: Uptime Kuma instance URL - UPTIME_KUMA_URL=${UPTIME_KUMA_URL:-http://localhost:3001} # Required: Uptime Kuma API token - UPTIME_KUMA_API_KEY=${UPTIME_KUMA_API_KEY} # Required: Claude/Anthropic API key - CLAUDE_API_KEY=${CLAUDE_API_KEY} # Optional: Enable dev mode on startup (default: false) - DEV_MODE=${DEV_MODE:-false} # Optional: Enable debug mode - DEBUG=${DEBUG:-false} # Database path (inside container) - DATABASE_PATH=/app/data/kuma_strapper.db volumes: - ./data:/app/data restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5000/api/health"] interval: 30s timeout: 10s retries: 3 start_period: 10s