Add original Keycloak config

This commit is contained in:
juarez 2023-02-14 15:46:57 +01:00
parent a63bdbde54
commit 8140b6dd7b
1 changed files with 7 additions and 4 deletions

View File

@ -14,17 +14,20 @@ services:
login: login:
#image: "jboss/keycloak:16.1.1" #image: "jboss/keycloak:16.1.1"
image: docker.verbis.dkfz.de/ccp/dktk-keycloak:latest image: docker.verbis.dkfz.de/ccp/dktk-keycloak:test
container_name: bridgehead-login container_name: bridgehead-login
environment: environment:
KEYCLOAK_ADMIN: "admin" KEYCLOAK_ADMIN: "admin"
KEYCLOAK_ADMIN_PASSWORD: "${KEYCLOAK_ADMIN_PASSWORD}" KEYCLOAK_ADMIN_PASSWORD: "${KEYCLOAK_ADMIN_PASSWORD}"
KC_DB_PASSWORD: "${KEYCLOAK_DB_PASSWORD}" # Set in teiler-setup.sh KC_DB_PASSWORD: "${KEYCLOAK_DB_PASSWORD}" # Set in teiler-setup.sh
KC_HOSTNAME_URL: "https://${HOST}/login" KC_HOSTNAME: "https://${HOST}/login"
KC_HOSTNAME_STRICT: "false" #KEYCLOAK_USER: "admin"
KC_PROXY_ADDRESS_FORWARDING: "true" #KEYCLOAK_PASSWORD: "${KEYCLOAK_ADMIN_PASSWORD}"
#DB_PASSWORD: "${KEYCLOAK_DB_PASSWORD}" # Set in teiler-setup.sh
TEILER_ROOT_CONFIG_EXTERN_URL: "https://${HOST}/ccp-teiler-root-config" TEILER_ROOT_CONFIG_EXTERN_URL: "https://${HOST}/ccp-teiler-root-config"
LOGIN_EXTERN_URL: "https://${HOST}/login" LOGIN_EXTERN_URL: "https://${HOST}/login"
command:
- start-dev --import-realm
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.login.rule=PathPrefix(`/login`)" - "traefik.http.routers.login.rule=PathPrefix(`/login`)"