chore: update Docker and CI for web + backend architecture
Build and Deploy / Build & Push (push) Successful in 2m10s
Build and Deploy / Build & Push (push) Successful in 2m10s
Replace scraper container with backend API container. Web image no longer mounts a data volume or ships SQLite. Backend image runs Hono server with node-cron scheduler, owns the database exclusively. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+5
-5
@@ -3,21 +3,21 @@ services:
|
||||
image: gitea.thewrightserver.net/josh/sixflagssupercalendar:web
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- park_data:/app/data
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- BACKEND_URL=http://backend:3001
|
||||
restart: unless-stopped
|
||||
|
||||
scraper:
|
||||
image: gitea.thewrightserver.net/josh/sixflagssupercalendar:scraper
|
||||
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
|
||||
- COASTER_STALENESS_HOURS=720
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user