services: web: image: gitea.thewrightserver.net/josh/thoosiecalendar:web ports: - "3000:3000" environment: - NODE_ENV=production - BACKEND_URL=http://backend:3001 - TZ=America/New_York restart: unless-stopped mem_limit: 512m healthcheck: test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000"] interval: 30s timeout: 5s retries: 3 start_period: 20s logging: driver: json-file options: max-size: "10m" max-file: "3" depends_on: backend: condition: service_healthy backend: image: gitea.thewrightserver.net/josh/thoosiecalendar:backend ports: - "3001:3001" volumes: - park_data:/app/backend/data environment: - NODE_ENV=production - TZ=America/New_York - PARK_HOURS_STALENESS_HOURS=72 restart: unless-stopped mem_limit: 512m healthcheck: test: ["CMD", "wget", "--spider", "-q", "http://localhost:3001/api/status"] interval: 30s timeout: 5s retries: 3 start_period: 30s logging: driver: json-file options: max-size: "10m" max-file: "3" volumes: park_data: