Commit 5b9a93d
fix(prod): persist Keycloak data across container recreate (#564)
* fix(prod): persist Keycloak data across container recreate
The online prod auth overlay ran Keycloak in start-dev with its embedded
H2 store inside the container and no volume, so every recreate wiped all
accounts/credentials created in the admin console, leaving only the
realm-export.json seed. Add a keycloak_data volume on /opt/keycloak/data
so runtime-created users survive, matching docker-compose.offline-prod.yml.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* fix/scope-keycloak-volume-to-h2-subdir
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 8e29b9f commit 5b9a93d
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
| |||
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
0 commit comments