Files
Epicnabbo-Catalogus-Updated…/docker-compose.yml
T
openhands 944e8ff1d8 fix: harden update pipeline and restore a clean production build
- update-Nitrov3.sh: build CMS into .next-staging and swap atomically so a
  failed build never takes the live site down; auto-merge new variables
  from .env.example; validate env for duplicates/broken lines; restart the
  emulator/CMS only when rebuilt or unhealthy; fix step renumbering
- next.config.ts: support NEXT_DIST_DIR for staged production builds
- fix all TS errors (unused imports, missing tryDownloadCandidates helper)
  so tsc and the production build pass clean
- add Dockerfile/.dockerignore and switch docker-compose to a CMS container
- include prevailing UI/refactor changes (SurfaceCard, ticketing, tsconfig)
2026-08-28 12:48:04 +02:00

21 lines
563 B
YAML

version: "3.8"
services:
cms:
build:
context: .
dockerfile: Dockerfile
container_name: epicnext-cms
ports:
# Host port -> container port (container always listens on 3002)
- "3002:3002"
restart: unless-stopped
env_file:
- .env
volumes:
# ~3GB client assets live on the host; mount them read-only into the container
- ./public/nitro-assets:/app/public/nitro-assets:ro
- ./public/swf:/app/public/swf:ro
# Runtime uploaded media (persistent on the host)
- ./storage:/app/storage