Use our Keycloak custom image
We build our custom Keycloak image with our own theme located at https://git.hamburg.ccc.de/CCCHH/oci-images
This commit is contained in:
parent
ea713aa162
commit
f8ac16f65b
|
@ -22,22 +22,8 @@
|
||||||
|
|
||||||
services:
|
services:
|
||||||
keycloak:
|
keycloak:
|
||||||
build:
|
image: git.hamburg.ccc.de/ccchh/oci-images/keycloak:25.0
|
||||||
context: .
|
pull_policy: always
|
||||||
dockerfile_inline: |
|
|
||||||
FROM quay.io/keycloak/keycloak:25.0 as builder
|
|
||||||
|
|
||||||
ENV KC_DB=postgres
|
|
||||||
|
|
||||||
WORKDIR /opt/keycloak
|
|
||||||
RUN /opt/keycloak/bin/kc.sh build
|
|
||||||
|
|
||||||
FROM quay.io/keycloak/keycloak:25.0
|
|
||||||
COPY --from=builder /opt/keycloak/ /opt/keycloak/
|
|
||||||
|
|
||||||
# Runtime options set in compose directly.
|
|
||||||
|
|
||||||
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: start --optimized
|
command: start --optimized
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Reference in a new issue