fix/dev-sso-private-network-name #57
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/dev-sso-private-network-name"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The base compose.dev.yml names the private network `dev-mokosh-private-${USER}`, but the compose.dev-sso.yml overlay marked it external with the non-suffixed name `dev-mokosh-private`, and `ensure-private-network` created that same non-suffixed network. When the base `just dev` stack (deps on `dev-mokosh-private-${USER}`) and the `just dev-sso` overlay got mixed, the server landed on the empty `dev-mokosh-private` network while Postgres and the other deps sat on `dev-mokosh-private-${USER}`. The server could then no longer resolve the `postgres` hostname and crash-looped on the DB connect, leaving Traefik with no backend so `https://<user>-mokosh-api.a8n.run` returned its default "404 page not found". Point the overlay network `name:` and the `ensure-private-network` recipe at the same per-developer name `dev-mokosh-private-${USER}` so every service in the layered stack shares one network. Refresh the now-stale comments in both files that still described the network as non-suffixed and shared. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>