fix(deploy): forward MODULES_ENTITLED into the server container (default parking,validation)
Build & push images / images (push) Successful in 3m19s
Build & push images / images (push) Successful in 3m19s
The Komodo stack env alone is compose interpolation input; only variables in the
service's environment: block reach the container. Without it every booth on 55d6242
had Car Wash entitled (unset = every module).
Claude-Session: https://claude.ai/code/session_01FWncR69HgGPuei1dLrW3cU
This commit is contained in:
+10
@@ -3029,3 +3029,13 @@ every `jwtVerify` resolves the user's CURRENT role from the DB (cached per user,
|
||||
`bumpPermsCache()`, which the user update/delete routes now call); a deleted user's session
|
||||
ends with 401 on its next request; the WS cookie path uses the same. Test: moved user creates
|
||||
an order on the next request with the same cookie. Recorded on [[local-jwt-auth]].
|
||||
|
||||
## [2026-09-06] ingest | MODULES_ENTITLED never reached the container
|
||||
|
||||
User set park-2 to `MODULES_ENTITLED=parking`, re-synced, destroyed + redeployed the stack —
|
||||
Lavazh still there. Cause: the variable was in the Komodo stack env and `.env.example` but not
|
||||
in `docker-compose.yml`'s server `environment:` block, so the container never saw it; unset =
|
||||
every module → every booth on 55d6242 had Car Wash entitled. Fix: compose forwards it with
|
||||
default `parking,validation`. Troubleshoot on a booth with `docker exec … env | grep MODULES`
|
||||
and the boot log line `venue modules (entitled = …; effective = …)`. Recorded on
|
||||
[[venue-modules]] §As-built (deploy gotcha).
|
||||
|
||||
Reference in New Issue
Block a user