version: "3.8" services: app: build: context: . dockerfile: Containerfile container_name: sneaky-klaus ports: - "8000:8000" environment: - FLASK_ENV=production - SECRET_KEY=${SECRET_KEY:-dev-secret-key-change-in-production} - APP_URL=${APP_URL:-http://localhost:8000} - RESEND_API_KEY=${RESEND_API_KEY:-} volumes: - sneaky-klaus-data:/app/data restart: unless-stopped healthcheck: test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"] interval: 30s timeout: 10s retries: 3 start_period: 5s volumes: sneaky-klaus-data: