Skip to content

Commit

Permalink
PS-594: Phrasea theme for keycloak (#401)
Browse files Browse the repository at this point in the history
* initialize creation keycloak theme

* extend keylock theme

* do not overide form control

* use as default theme if not exist
  • Loading branch information
aynsix authored Dec 14, 2023
1 parent dc13131 commit 10c64e7
Show file tree
Hide file tree
Showing 8 changed files with 623 additions and 1 deletion.
7 changes: 6 additions & 1 deletion infra/docker/keycloak/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ FROM quay.io/keycloak/keycloak:22.0.1 as builder
COPY --from=spi-builder /app/group-uuid-pmapper/target/group-uuid-pmapper.jar /opt/keycloak/providers/
COPY --from=spi-builder /app/jq-idp-mapper/target/jq-idp-mapper-jar-with-dependencies.jar /opt/keycloak/providers/

RUN /opt/keycloak/bin/kc.sh build
RUN /opt/keycloak/bin/kc.sh build \
&& mkdir /opt/keycloak/themes/phrasea

COPY themes/phrasea /opt/keycloak/themes/phrasea


FROM quay.io/keycloak/keycloak:22.0.1 as keycloak

ENV KC_SPI_THEME_DEFAULT=phrasea

COPY --from=builder /opt/keycloak /opt/keycloak


Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
parent=keycloak.v2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
parent=keycloak.v2
2 changes: 2 additions & 0 deletions infra/docker/keycloak/themes/phrasea/email/theme.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
parent=keycloak
import=common/keycloak
Loading

0 comments on commit 10c64e7

Please sign in to comment.