Commit 8d9f344bd1a88e27cbf793f29e5aa102949eb8e1

Authored by George Vlahavas
1 parent 6b1cf70630

Add keycloak variables

Showing 2 changed files with 6 additions and 0 deletions

docker-compose-hetzner.yml View file @ 8d9f344
... ... @@ -131,6 +131,9 @@
131 131 - "KEYCLOAK_TOKEN_PRINCIPAL_ATTRIBUTE=${KEYCLOAK_TOKEN_PRINCIPAL_ATTRIBUTE}"
132 132 - "KEYCLOAK_APPEND_DECODED_TOKEN=${KEYCLOAK_APPEND_DECODED_TOKEN}"
133 133 - "KEYCLOAK_ALLOWED_RESOURCES=${KEYCLOAK_ALLOWED_RESOURCES}"
  134 + - "KEYCLOAK_REALM=${KEYCLOAK_REALM}"
  135 + - "KEYCLOAK_URL=${KEYCLOAK_URL}"
  136 + - "KEYCLOAK_CLIENT_ID=${KEYCLOAK_CLIENT_ID}"
134 137 - "AUTH_ENABLED=${AUTH_ENABLED}"
135 138 networks:
136 139 - "proxy-network"
hetzner_deploy.groovy View file @ 8d9f344
... ... @@ -67,6 +67,9 @@
67 67 KEYCLOAK_TOKEN_PRINCIPAL_ATTRIBUTE = "preferred_username"
68 68 KEYCLOAK_APPEND_DECODED_TOKEN = "false"
69 69 KEYCLOAK_ALLOWED_RESOURCES = "account"
  70 + KEYCLOAK_REALM = "Integration"
  71 + KEYCLOAK_URL = "https://keycloak-curex.gnubila.fr/auth/"
  72 + KEYCLOAK_CLIENT_ID = "KEA"
70 73  
71 74 AUTH_ENABLED = "true"
72 75 }