# App only, for a host that already has a reverse proxy in front (e.g. NPMplus on 192.168.10.3 → .5:2970). # The proxy terminates HTTPS and adds the security headers in deploy/npmplus-advanced.conf (same as the Caddyfile). # cd deploy && docker compose -f docker-compose.proxy.yml up -d --build name: joke-app services: app: build: context: .. dockerfile: deploy/Dockerfile image: boardgame-site:${APP_VERSION:-latest} restart: unless-stopped env_file: .env environment: TRUST_PROXY: "1" ports: - "${APP_PORT:-2970}:3000" volumes: - app-data:/data stop_grace_period: 15s logging: driver: json-file options: { max-size: "50m", max-file: "5" } volumes: app-data: