06b911917d
Build and Deploy / Build & Push (push) Successful in 2m50s
getTodayLocal() relied on system clock hours, which broke in the web container (TZ defaulting to UTC) — the day flipped at 11 PM EDT (3 AM UTC) instead of 3 AM Eastern. Now uses Intl.DateTimeFormat with an explicit America/New_York timezone. Also replaced all toISOString() date formatting with local-component helpers to avoid UTC conversion. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
575 B
YAML
26 lines
575 B
YAML
services:
|
|
web:
|
|
image: gitea.thewrightserver.net/josh/sixflagssupercalendar:web
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- BACKEND_URL=http://backend:3001
|
|
- TZ=America/New_York
|
|
restart: unless-stopped
|
|
|
|
backend:
|
|
image: gitea.thewrightserver.net/josh/sixflagssupercalendar:backend
|
|
ports:
|
|
- "3001:3001"
|
|
volumes:
|
|
- park_data:/app/data
|
|
environment:
|
|
- NODE_ENV=production
|
|
- TZ=America/New_York
|
|
- PARK_HOURS_STALENESS_HOURS=72
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
park_data:
|