Document production compose changes

This commit is contained in:
Codex
2026-04-24 09:02:38 -05:00
parent 05e2a914b4
commit 0c61540cf7
2 changed files with 2 additions and 0 deletions

View File

@@ -40,6 +40,7 @@
- Added a Traefik compose override sample at `compose.traefik.yml.sample` for production routing and proxy-network attachment. - Added a Traefik compose override sample at `compose.traefik.yml.sample` for production routing and proxy-network attachment.
- The production launcher now targets only `db`, `backend`, and `frontend`, keeping the dev Caddy proxy out of the production path. - The production launcher now targets only `db`, `backend`, and `frontend`, keeping the dev Caddy proxy out of the production path.
- The Caddy proxy service now runs only under the `dev` compose profile, and `scripts/dev-up.sh` enables that profile automatically. - The Caddy proxy service now runs only under the `dev` compose profile, and `scripts/dev-up.sh` enables that profile automatically.
- The Traefik production override now builds the frontend into a static Nginx image and clears the dev-facing published ports.
## Storage Status ## Storage Status
- Backend media persists in the `backend-media` named Docker volume. - Backend media persists in the `backend-media` named Docker volume.

View File

@@ -33,6 +33,7 @@ WalkUp is a collaborative baseball walk-up song app built as a React PWA with a
## Production ## Production
- Copy `compose.traefik.yml.sample` to `compose.traefik.yml` and adjust it for your deployment. - Copy `compose.traefik.yml.sample` to `compose.traefik.yml` and adjust it for your deployment.
- The sample routes `backend` and `frontend` through Traefik, builds the frontend as a static Nginx image, and keeps the published ports off the host.
- `./scripts/prod-up.sh` starts `db`, `backend`, and `frontend` in detached mode with that Traefik override. - `./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. - Use `docker compose logs db backend frontend` when you need live service output from that detached stack.