Skip to content

Commit

Permalink
Update keycloak.yml (#1162)
Browse files Browse the repository at this point in the history
Newest version 26.0.2
Postgres version 16

--proxy was deprecated
---proxy-headers=xforwarded is necessary
and for replacement of --proxy=edge also --http-enabled=true

Password naming was changed, too.

https://www.keycloak.org/docs/latest/upgrading/index.html#deprecated-proxy-option
  • Loading branch information
dennemark authored Oct 29, 2024
1 parent 4af5ac8 commit b1fe2cc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions public/v4/apps/keycloak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ services:
- $$cap_appname-db
restart: always
environment:
KEYCLOAK_ADMIN: $$cap_keycloak_admin
KEYCLOAK_ADMIN_PASSWORD: $$cap_keycloak_password
KC_BOOTSTRAP_ADMIN_USERNAME: $$cap_keycloak_admin
KC_BOOTSTRAP_ADMIN_PASSWORD: $$cap_keycloak_password
KC_DB_PASSWORD: $$cap_pg_pass
caproverExtra:
containerHttpPort: '8080'
Expand All @@ -36,19 +36,19 @@ services:
- ENV KC_DB_USERNAME=keycloak
- ENV KC_DB_PASSWORD=$$cap_pg_pass
- ENV KC_HOSTNAME=$$cap_appname.$$cap_root_domain
- ENTRYPOINT ["/opt/keycloak/bin/kc.sh", "start", "--optimized", "--proxy=edge"]
- ENTRYPOINT ["/opt/keycloak/bin/kc.sh", "start", "--optimized", "--proxy-headers=xforwarded", "--http-enabled=true"]

caproverOneClickApp:
variables:
- id: $$cap_postgres_version
label: Postgres Version
defaultValue: '15'
defaultValue: '16'
description: Check out Keycloak DB page for any valid major tested https://www.keycloak.org/server/db
validRegex: /^([^\s^\/])+$/
- id: $$cap_keycloak_version
label: Keycloak Version
defaultValue: '23.0.1'
description: v23.0.1 current as of 2023-12-06. Check out Keycloak Docker page for the valid tags https://quay.io/repository/keycloak/keycloak?tab=tags
defaultValue: '26.0.2'
description: v26.0.2 current as of 2024-10-24. Check out Keycloak Docker page for the valid tags https://quay.io/repository/keycloak/keycloak?tab=tags
validRegex: /^([^\s^\/])+$/
- id: $$cap_pg_pass
label: Postgres Password
Expand Down

0 comments on commit b1fe2cc

Please sign in to comment.