8 lines
261 B
Docker
8 lines
261 B
Docker
FROM quay.io/keycloak/keycloak:latest
|
|
|
|
ENV KC_HEALTH_ENABLED=true
|
|
ENV KC_CACHE_CONFIG_FILE=cache-persistent.xml
|
|
ENV KC_DB=postgres
|
|
|
|
COPY cache-persistent.xml /opt/keycloak/conf/cache-persistent.xml
|
|
RUN mkdir /opt/keycloak/cache && /opt/keycloak/bin/kc.sh build
|