Update containers.adoc (#15729)
You have to set also variable KC_DB after building image, otherwise Keycloak will default to H2 database
This commit is contained in:
parent
bd30023d62
commit
447364076a
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ FROM quay.io/keycloak/keycloak:latest
|
||||||
COPY --from=builder /opt/keycloak/ /opt/keycloak/
|
COPY --from=builder /opt/keycloak/ /opt/keycloak/
|
||||||
|
|
||||||
# change these values to point to a running postgres instance
|
# change these values to point to a running postgres instance
|
||||||
|
ENV KC_DB=postgres
|
||||||
ENV KC_DB_URL=<DBURL>
|
ENV KC_DB_URL=<DBURL>
|
||||||
ENV KC_DB_USERNAME=<DBUSERNAME>
|
ENV KC_DB_USERNAME=<DBUSERNAME>
|
||||||
ENV KC_DB_PASSWORD=<DBPASSWORD>
|
ENV KC_DB_PASSWORD=<DBPASSWORD>
|
||||||
|
|
Loading…
Reference in a new issue