build with enabled metrics

This commit is contained in:
Sebastian Hugentobler 2023-04-08 12:37:09 +02:00
parent af863edfa6
commit e492e9777d
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,7 @@ RUN apk add --no-cache \
COPY --from=builder --chown=keycloak:keycloak /keycloak /home/keycloak/server 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 RUN chown -R keycloak:keycloak /home/keycloak
ADD /rootfs / ADD /rootfs /

View File

@ -8,6 +8,5 @@ exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \
--db-password "$DB_PASSWORD" \ --db-password "$DB_PASSWORD" \
--hostname "$HOSTNAME" \ --hostname "$HOSTNAME" \
--http-enabled true \ --http-enabled true \
--metrics-enabled true \
--hostname-strict-backchannel=true \ --hostname-strict-backchannel=true \
--proxy edge --proxy edge