Changes for page KeyCloak

Last modified by chrisby on 2024/03/03 14:52

From version 1.4
edited by chrisby
on 2023/12/22 21:35
Change comment: There is no comment for this version
To version 1.5
edited by chrisby
on 2024/03/03 14:52
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,18 +1,16 @@
1 1  ###### Dockerfile
2 2  
3 -```Dockerfile
4 -FROM quay.io/keycloak/keycloak:22.0.1 as builder
5 -ENV KC_HEALTH_ENABLED=false
6 -ENV KC_METRICS_ENABLED=false
7 -ENV KC_DB=postgres
8 -WORKDIR /opt/keycloak
9 -RUN /opt/keycloak/bin/kc.sh build
3 + FROM quay.io/keycloak/keycloak:22.0.1 as builder
4 + ENV KC_HEALTH_ENABLED=false
5 + ENV KC_METRICS_ENABLED=false
6 + ENV KC_DB=postgres
7 + WORKDIR /opt/keycloak
8 + RUN /opt/keycloak/bin/kc.sh build
9 +
10 + FROM quay.io/keycloak/keycloak:22.0.1
11 + COPY --from=builder /opt/keycloak/ /opt/keycloak/
12 + ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
10 10  
11 -FROM quay.io/keycloak/keycloak:22.0.1
12 -COPY --from=builder /opt/keycloak/ /opt/keycloak/
13 -ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
14 -```
15 -
16 16  ###### docker-compose.yml
17 17  
18 18  ```yaml