Keycloak - fixed entrypoint, versions and typo in name, added hostname env (#1035)
* updated libreddit - changed docker image, version by tag instead SHA hash * fixed version tag * returned SHA tag, no other tags than latest in docker repo * keycloak fixes
This commit is contained in:
parent
629969ab23
commit
7ce651301f
|
|
@ -35,19 +35,20 @@ services:
|
||||||
- ENV KC_DB_URL=jdbc:postgresql://srv-captain--$$cap_appname-db/keycloak
|
- ENV KC_DB_URL=jdbc:postgresql://srv-captain--$$cap_appname-db/keycloak
|
||||||
- ENV KC_DB_USERNAME=keycloak
|
- ENV KC_DB_USERNAME=keycloak
|
||||||
- ENV KC_DB_PASSWORD=$$cap_pg_pass
|
- ENV KC_DB_PASSWORD=$$cap_pg_pass
|
||||||
- ENTRYPOINT ["/opt/keycloak/bin/kc.sh", "start", "--optimized --hostname=$$cap_appname.$$cap_root_domain", "--proxy=edge"]
|
- ENV KC_HOSTNAME=$$cap_appname.$$cap_root_domain
|
||||||
|
- ENTRYPOINT ["/opt/keycloak/bin/kc.sh", "start", "--optimized", "--proxy=edge"]
|
||||||
|
|
||||||
caproverOneClickApp:
|
caproverOneClickApp:
|
||||||
variables:
|
variables:
|
||||||
- id: $$cap_postgres_version
|
- id: $$cap_postgres_version
|
||||||
label: Postgres Version
|
label: Postgres Version
|
||||||
defaultValue: '10.21'
|
defaultValue: '15'
|
||||||
description: Check out their DB page for any valid major tested https://www.keycloak.org/server/db
|
description: Check out Keycloak DB page for any valid major tested https://www.keycloak.org/server/db
|
||||||
validRegex: /^([^\s^\/])+$/
|
validRegex: /^([^\s^\/])+$/
|
||||||
- id: $$cap_keycloak_version
|
- id: $$cap_keycloak_version
|
||||||
label: Keycloak Version
|
label: Keycloak Version
|
||||||
defaultValue: 20.0.3
|
defaultValue: '23.0.1'
|
||||||
description: v20.0.3 current as of 2023-01-13. Check out their Docker page for the valid tags https://quay.io/repository/keycloak/keycloak?tab=tags
|
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
|
||||||
validRegex: /^([^\s^\/])+$/
|
validRegex: /^([^\s^\/])+$/
|
||||||
- id: $$cap_pg_pass
|
- id: $$cap_pg_pass
|
||||||
label: Postgres Password
|
label: Postgres Password
|
||||||
|
|
@ -57,6 +58,7 @@ caproverOneClickApp:
|
||||||
- id: $$cap_keycloak_admin
|
- id: $$cap_keycloak_admin
|
||||||
label: Keycloak admin user
|
label: Keycloak admin user
|
||||||
description: 'Login username for the admin web user.'
|
description: 'Login username for the admin web user.'
|
||||||
|
defaultValue: 'admin'
|
||||||
validRegex: /.{1,}/
|
validRegex: /.{1,}/
|
||||||
- id: $$cap_keycloak_password
|
- id: $$cap_keycloak_password
|
||||||
label: Keycloak admin password
|
label: Keycloak admin password
|
||||||
|
|
@ -85,7 +87,7 @@ caproverOneClickApp:
|
||||||
|
|
||||||
|
|
||||||
IMPORTANT: It will take up to 1 minutes for Keycloak to be ready. Before that, you might see 502 error page.
|
IMPORTANT: It will take up to 1 minutes for Keycloak to be ready. Before that, you might see 502 error page.
|
||||||
displayName: 'Keycloack'
|
displayName: 'Keycloak'
|
||||||
isOfficial: true
|
isOfficial: true
|
||||||
description: Keycloak is an open source identity and access management solution
|
description: Keycloak is an open source identity and access management solution
|
||||||
documentation: Taken from https://github.com/keycloak/keycloak-containers/blob/main/docker-compose-examples/keycloak-postgres.yml
|
documentation: Taken from https://github.com/keycloak/keycloak-containers/blob/main/docker-compose-examples/keycloak-postgres.yml
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue