19 lines
663 B
YAML
19 lines
663 B
YAML
# Static hosting for the web build (CR-014): Caddy serves the app over plain
|
|
# HTTP; Nginx Proxy Manager in front of it handles the domain and HTTPS. The
|
|
# game runs and saves on each player's device, so there is no server or database.
|
|
# From this folder: docker compose --env-file .env up -d --build
|
|
# Settings come from deploy/.env (copy .env.example).
|
|
name: deadhead
|
|
|
|
services:
|
|
web:
|
|
build:
|
|
context: ..
|
|
dockerfile: deploy/web.Dockerfile
|
|
args:
|
|
APP_BUILD: ${APP_BUILD:-dev}
|
|
restart: unless-stopped
|
|
ports:
|
|
# Host port → Caddy's port 80 in the container. Point NPM at this host port.
|
|
- "${HTTP_PORT:-8080}:80"
|