docs(infra): document Compose profile + down/up symmetry gotcha #67

Merged
julien merged 1 commits from docs/infra/compose-profiles-down-gotcha into main 2026-05-09 21:40:29 +02:00

1 Commits

Author SHA1 Message Date
Julien Gautier c5b2c1fc48 docs(infra): document Compose profile + down/up symmetry gotcha
CI / commits (pull_request) Successful in 1m41s
CI / scan (pull_request) Successful in 1m50s
CI / check (pull_request) Successful in 1m51s
CI / a11y (pull_request) Successful in 1m8s
CI / perf (pull_request) Successful in 2m4s
`docker compose down -v` left pgweb and jaeger running (under
`--profile dbtools` / `--profile observability` respectively), with
no obvious diagnostic. Reason: Compose only operates on services
whose profile is currently active — if you brought them up with a
flag, you must `down` with the same flag, otherwise they are
invisible to that command.

Document the gotcha in `infra/README.md` "Local-dev stack" →
"Operational tips", with the two pragmatic resolutions: pass the
same flags on each command, or set `COMPOSE_PROFILES` once and
let it propagate.
2026-05-09 21:16:42 +02:00