Add Traefik production compose override

This commit is contained in:
Codex
2026-04-24 08:28:18 -05:00
parent 25c06fb5e3
commit 29bc47da4c
4 changed files with 64 additions and 0 deletions

View File

@@ -31,6 +31,11 @@ WalkUp is a collaborative baseball walk-up song app built as a React PWA with a
- `./scripts/dev-logs.sh` captures current service logs to `logs/docker-services.log`.
- Use those files when you want me to inspect startup failures or runtime errors from the Docker stack.
## Production
- Copy `compose.traefik.yml.sample` to `compose.traefik.yml` and adjust it for your deployment.
- `./scripts/prod-up.sh` starts `db`, `backend`, and `frontend` in detached mode with that Traefik override.
- Use `docker compose logs db backend frontend` when you need live service output from that detached stack.
## TeamSnap Secrets
- TeamSnap credentials are expected through Docker secrets, not plain environment variables.
- The backend reads `/run/secrets/teamsnap_client_id` and `/run/secrets/teamsnap_client_secret` by default.