mirror of
https://github.com/bitnami/containers.git
synced 2026-10-20 13:21:09 +02:00
ADD: KEYCLOAK_DATABASE_SCHEMA in the db-url
Add KEYCLOAK_DATABASE_SCHEMA in the db-url with default schema to public if not specified Signed-off-by: taionff <domy_ff@hotmail.com>
This commit is contained in:
committed by
Bitnami Containers
parent
b94bb0d8b1
commit
a3acc1ed0b
@@ -117,7 +117,7 @@ keycloak_configure_database() {
|
||||
keycloak_conf_set "db" "postgres"
|
||||
keycloak_conf_set "db-username" "$KEYCLOAK_DATABASE_USER"
|
||||
keycloak_conf_set "db-password" "$KEYCLOAK_DATABASE_PASSWORD"
|
||||
keycloak_conf_set "db-url" "jdbc:postgresql://${KEYCLOAK_DATABASE_HOST}:${KEYCLOAK_DATABASE_PORT}/${KEYCLOAK_DATABASE_NAME}"
|
||||
keycloak_conf_set "db-url" "jdbc:postgresql://${KEYCLOAK_DATABASE_HOST}:${KEYCLOAK_DATABASE_PORT}/${KEYCLOAK_DATABASE_NAME}?currentSchema=${KEYCLOAK_DATABASE_SCHEMA:-public}"
|
||||
debug_execute kc.sh build --db postgres
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user