From e492e9777d41bbca1335da8e3542e4dff238b2a6 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 8 Apr 2023 12:37:09 +0200 Subject: [PATCH] build with enabled metrics --- Dockerfile | 2 +- rootfs/etc/s6-overlay/s6-rc.d/keycloak/run | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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