mirror of
https://github.com/suitenumerique/docs.git
synced 2026-08-17 21:25:43 +02:00
🐛(keycloak) fix database env variables in the self-hosting example
The Keycloak container ignored KC_DB_HOST, KC_DB_NAME and KC_DB_USER: the Quarkus distribution expects KC_DB_URL_HOST, KC_DB_URL_DATABASE and KC_DB_USERNAME instead. Keycloak silently fell back to its default JDBC URL on localhost:5432 and could not reach the database container. The host value also pointed to "postgresql" while the service is named kc_postgresql in the example compose file, so it is fixed as well. These names already match the ones used in env.d/development/kc_auth. Signed-off-by: risk-alt <aldu6974@gmail.com>
This commit is contained in:
@@ -24,6 +24,7 @@ and this project adheres to
|
||||
- 🐛(backend) ignore CSPs for API docs in development
|
||||
- 🐛(frontend) export images embedded with a relative url #2573
|
||||
- 🐛(y-provider) fix sentry init #2579
|
||||
- 🐛(keycloak) fix database env variables in the self-hosting example #2572
|
||||
- 🐛(helm) show the database error while jobs wait for it to be ready #2578
|
||||
|
||||
## [v5.4.1] - 2026-07-09
|
||||
|
||||
@@ -7,7 +7,7 @@ PGDATA=/var/lib/postgresql/data/pgdata
|
||||
# Keycloak postgresql configuration
|
||||
KC_DB=postgres
|
||||
KC_DB_SCHEMA=public
|
||||
KC_DB_HOST=postgresql
|
||||
KC_DB_NAME=${POSTGRES_DB}
|
||||
KC_DB_USER=${POSTGRES_USER}
|
||||
KC_DB_URL_HOST=kc_postgresql
|
||||
KC_DB_URL_DATABASE=${POSTGRES_DB}
|
||||
KC_DB_USERNAME=${POSTGRES_USER}
|
||||
KC_DB_PASSWORD=${POSTGRES_PASSWORD}
|
||||
Reference in New Issue
Block a user