diff --git a/keycloak/lib/docker/Dockerfile b/keycloak/lib/docker/Dockerfile index ac25522..3988b58 100644 --- a/keycloak/lib/docker/Dockerfile +++ b/keycloak/lib/docker/Dockerfile @@ -4,7 +4,7 @@ #FROM quay.io/keycloak/keycloak:22.0.4 #ENTRYPOINT ["/opt/keycloak/bin/kc.sh"] -FROM quay.io/keycloak/keycloak:22.0.4 as builder +FROM quay.io/keycloak/keycloak:23.0 as builder ENV KC_HEALTH_ENABLED=true ENV KC_METRICS_ENABLED=true @@ -17,7 +17,7 @@ WORKDIR /opt/keycloak COPY ./themes/treetracker /opt/keycloak/themes/treetracker #RUN /opt/keycloak/bin/kc.sh build -FROM quay.io/keycloak/keycloak:latest +FROM quay.io/keycloak/keycloak:23.0 COPY --from=builder /opt/keycloak/ /opt/keycloak/ ENTRYPOINT ["/opt/keycloak/bin/kc.sh", "start-dev"] diff --git a/keycloak/lib/docker/themes/treetracker/account/messages/messages_en.properties b/keycloak/lib/docker/themes/treetracker/account/messages/messages_en.properties new file mode 100644 index 0000000..ef6acd6 --- /dev/null +++ b/keycloak/lib/docker/themes/treetracker/account/messages/messages_en.properties @@ -0,0 +1 @@ +accountManagementWelcomeMessage=Welcome to Treetracker account management \ No newline at end of file diff --git a/keycloak/lib/docker/themes/treetracker/account/resources/css/treetracker.css b/keycloak/lib/docker/themes/treetracker/account/resources/css/treetracker.css new file mode 100644 index 0000000..b93ad89 --- /dev/null +++ b/keycloak/lib/docker/themes/treetracker/account/resources/css/treetracker.css @@ -0,0 +1,27 @@ +:root { + --pf-global--primary-color--100: #86C232; + --pf-global--primary-color--200: #a6dc5a; + --pf-global--primary-color--dark-100: #86C232; + --pf-global--primary-color--light-100: #a6dc5a; + --pf-global--active-color--100: #68a119; + --pf-global--active-color--200: #b9ef6d; + --pf-global--active-color--300: #89e00f; + --pf-global--active-color--400: #80aa44; + --pf-global--link--Color: #61901f; + --pf-global--link--Color--hover: #547722; + --pf-global--link--Color--light: #b4ef62; + --pf-global--link--Color--light--hover: #b7e973; + --pf-global--link--Color--dark: #679822; + --pf-global--link--Color--dark--hover: #5e9413; + --pf-global--default-color--100: #86C232; + --pf-global--default-color--200: #a6dc5a; + --pf-global--default-color--300: #86C232; +} + +.pf-c-brand { + content: url("https://map.treetracker.org/images/treetracker_logo_white.svg"); +} + +.pf-icon { + color: var(--pf-global--primary-color--100); +} \ No newline at end of file diff --git a/keycloak/lib/docker/themes/treetracker/account/theme.properties b/keycloak/lib/docker/themes/treetracker/account/theme.properties new file mode 100644 index 0000000..0526dd6 --- /dev/null +++ b/keycloak/lib/docker/themes/treetracker/account/theme.properties @@ -0,0 +1,4 @@ +parent=keycloak.v2 +import=common/keycloak +styles=web_modules/@fontawesome/fontawesome-free/css/icons/all.css web_modules/@patternfly/react-core/dist/styles/base.css web_modules/@patternfly/react-core/dist/styles/app.css node_modules/patternfly/dist/css/patternfly.min.css node_modules/patternfly/dist/css/patternfly-additions.min.css css/account.css css/treetracker.css + diff --git a/keycloak/lib/kubernetes/base/deployment.yaml b/keycloak/lib/kubernetes/base/deployment.yaml index 55be567..601844b 100644 --- a/keycloak/lib/kubernetes/base/deployment.yaml +++ b/keycloak/lib/kubernetes/base/deployment.yaml @@ -16,7 +16,7 @@ spec: spec: containers: - name: treetracker-keycloak - image: dadiorchen/keycloak:1.5 + image: mohmin/keycloak-23 env: - name: KC_LOG_LEVEL value: INFO