docs(adr): give Keycloak its own OS user and Postgres (0042) #147

Sammanfogat
supernaut sammanfogade 2 incheckningar från docs/adr-0042-keycloak-isolation in i main 2026-10-11 10:50:05 +00:00
Ägare

Refs #133

Amend ADR 0042 so Keycloak runs as its own rootless user, bitborg-id, with its own PostgreSQL, before it first runs in production. Short follow-ons for ADRs 0044, 0041, 0025 and 0027.

  • 0042: new user (uid 2001, pinned subids, data-volume bind, fail-closed mount), own keycloak-postgres, host-only address 10.90.0.1 for Caddy, portal and billing, encrypted hourly dump handed to the backup jobs, per-user monitoring.
  • Production is rebooted once before cutover to prove the mount guard. The hot-drill Keycloak canary comes later.
  • A stale dump fails the hot backup, which already alerts. No separate alert.
  • ADR 0015 is unchanged: the admin forward stays on 127.0.0.1:18080.

The amendments describe the target. The infra changes follow in separate PRs.

Docs only. pnpm format:check and pnpm mdlint pass.

Refs #133 Amend ADR 0042 so Keycloak runs as its own rootless user, `bitborg-id`, with its own PostgreSQL, before it first runs in production. Short follow-ons for ADRs 0044, 0041, 0025 and 0027. - 0042: new user (uid 2001, pinned subids, data-volume bind, fail-closed mount), own `keycloak-postgres`, host-only address `10.90.0.1` for Caddy, portal and billing, encrypted hourly dump handed to the backup jobs, per-user monitoring. - Production is rebooted once before cutover to prove the mount guard. The hot-drill Keycloak canary comes later. - A stale dump fails the hot backup, which already alerts. No separate alert. - ADR 0015 is unchanged: the admin forward stays on `127.0.0.1:18080`. The amendments describe the target. The infra changes follow in separate PRs. Docs only. `pnpm format:check` and `pnpm mdlint` pass.
supernaut lade till 2 incheckningar 2026-10-11 10:43:44 +00:00
supernaut sammanfogade incheckning a2f196395d till main 2026-10-11 10:50:05 +00:00
supernaut tog bort grenen docs/adr-0042-keycloak-isolation 2026-10-11 10:50:05 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-docs!147
Ingen beskrivning angiven.