Add Traefik production compose override
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user