diff --git a/Dockerfile b/Dockerfile index a4b64b3..8b3144a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN apk add --no-cache \ COPY --from=builder --chown=keycloak:keycloak /keycloak /home/keycloak/server -RUN /home/keycloak/server/bin/kc.sh build --db postgres --metrics-enabled true +RUN /home/keycloak/server/bin/kc.sh build --db=postgres --metrics-enabled=true RUN chown -R keycloak:keycloak /home/keycloak ADD /rootfs / diff --git a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run index b95d5a2..2b114f7 100644 --- a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run +++ b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run @@ -8,6 +8,5 @@ exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ --db-password "$DB_PASSWORD" \ --hostname "$HOSTNAME" \ --http-enabled true \ - --metrics-enabled true \ --hostname-strict-backchannel=true \ --proxy edge