Skip to content

Commit

Permalink
keycloak upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrickboom committed Dec 5, 2024
1 parent a918299 commit cc82e89
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
8 changes: 5 additions & 3 deletions minimal-setup/keycloak/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ services:
# ENABLE_KEYCLOAK_API_KEYS: "true"
# # to enable the permissions edition UI in OE2, you need to provide a KEYCLOAK_CLIENT_SECRET
# KEYCLOAK_CLIENT_SECRET: "change-me-I-am-a-secret-you-get-in-keycloak-logs"
KEYCLOAK_CLIENT_SECRET: "BW4jmAQXmnegXXDXKy7SPuStxSoPSG7M"
KEYCLOAK_CLIENT_SECRET: "qU5qhuToGyKHY4xKcUob5BUePwNBfSoH"
PUBLIC_ORTHANC_ROOT: "http://localhost/orthanc/"
PUBLIC_LANDING_ROOT: "http://localhost/orthanc/ui/app/token-landing.html"
# to use OHIF-plugin: make sure to use http://localhost/orthanc/ohif/
Expand Down Expand Up @@ -136,8 +136,10 @@ services:
depends_on: [keycloak-db]
restart: unless-stopped
environment:
KEYCLOAK_ADMIN: "admin"
KEYCLOAK_ADMIN_PASSWORD: "change-me"
#KEYCLOAK_ADMIN: "admin"
#KEYCLOAK_ADMIN_PASSWORD: "change-me"
KC_BOOTSTRAP_ADMIN_USERNAME: "admin"
KC_BOOTSTRAP_ADMIN_PASSWORD: "change-me"
KC_DB: "postgres"
KC_DB_URL: "jdbc:postgresql://keycloak-db:5432/keycloak"
KC_DB_USERNAME: "keycloak"
Expand Down
6 changes: 6 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ v x.x.x
========

- Upgraded OHIF from v3.9.0-beta.56 to v3.9.2
- Upgraded Keycloak from 25.0.5 to 26.0.7

BREAKING CHANGES:
- Keycloak Docker image env var `KEYCLOAK_ADMIN` is replaced by `KC_BOOTSTRAP_ADMIN_USERNAME`
- Keycloak Docker image env var `KEYCLOAK_ADMIN_PASSWORD` is replace by `KC_BOOTSTRAP_ADMIN_PASSWORD`


v 24.11.0
========
Expand Down
4 changes: 2 additions & 2 deletions sources/keycloak/Dockerfile.orthanc-keycloak
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# SPDX-License-Identifier: CC0-1.0

FROM quay.io/keycloak/keycloak:25.0.5 AS builder
FROM quay.io/keycloak/keycloak:26.0.7 AS builder

WORKDIR /opt/keycloak
ENV KC_DB=postgres
Expand All @@ -14,7 +14,7 @@ ADD keycloak/orthanc-theme /opt/keycloak/themes/orthanc

RUN /opt/keycloak/bin/kc.sh build

FROM quay.io/keycloak/keycloak:25.0.5
FROM quay.io/keycloak/keycloak:26.0.7
COPY --from=builder /opt/keycloak/ /opt/keycloak/

COPY keycloak/realm-export.json /opt/keycloak/data/import/
Expand Down
2 changes: 1 addition & 1 deletion sources/keycloak/orthanc-theme/login/theme.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ parent=base
import=common/keycloak

styles=css/login.css
stylesCommon=node_modules/@patternfly/patternfly/patternfly.min.css node_modules/patternfly/dist/css/patternfly.min.css node_modules/patternfly/dist/css/patternfly-additions.min.css lib/pficon/pficon.css
stylesCommon=vendor/patternfly-v4/patternfly.min.css vendor/patternfly-v3/css/patternfly.min.css vendor/patternfly-v3/css/patternfly-additions.min.css lib/pficon/pficon.css

meta=viewport==width=device-width,initial-scale=1

Expand Down

0 comments on commit cc82e89

Please sign in to comment.