Repository navigation
How can i save keycloak configuration with postgres in a docker-compose? #19962
Answered
by
brayanjeshua
brayanjeshua
asked this question in
Q&A
|
Until now this is my compose i'm using keycloak in development but i want to use a new container as keycloak-db to store and persist the whole configuration of realms / users / groups ... |
Answered by
brayanjeshua
May 9, 2023
Replies: 3 comments
|
Here is an example docker compose project that configures Keycloak container to a database container: https://github.com/slominskir/keycloak_oracle The example uses Oracle database, but using Postgres will be very similar. |
0 replies
|
@brayanjeshua , check this below. Btw, any exact issue/error are you facing ? |
0 replies
|
I solved it using the following parameters: In your case maybe add KC_HOSTNAME |
0 replies
Answer selected by
brayanjeshua
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I solved it using the following parameters:
In your case maybe add KC_HOSTNAME