22 lines
1.1 KiB
Plaintext
Raw Normal View History

# Environment File for Keycloak
# Documentation can be found here:
# @see https://www.keycloak.org/server/containers
2025-02-21 06:32:12 +01:00
KC_HOSTNAME= https://{{domains[application_id]}}
KC_HTTP_ENABLED= true
# Health Checks
# @see https://quarkus.io/guides/smallrye-health
KC_HEALTH_ENABLED= true
KC_METRICS_ENABLED= true
KEYCLOAK_ADMIN= "{{applications.keycloak.administrator_username}}"
KEYCLOAK_ADMIN_PASSWORD= "{{applications.keycloak.administrator_password}}"
KC_DB= postgres
KC_DB_URL= jdbc:postgresql://{{database_host}}/{{database_name}}
KC_DB_USERNAME= {{database_username}}
2025-02-22 14:51:13 +01:00
KC_DB_PASSWORD= {{database_password}}
# If the initial administrator already exists and the environment variables are still present at startup, an error message stating the failed creation of the initial administrator is shown in the logs. Keycloak ignores the values and starts up correctly.
KC_BOOTSTRAP_ADMIN_USERNAME= {{administrator_username}}
2025-02-22 16:44:32 +01:00
KC_BOOTSTRAP_ADMIN_PASSWORD= {{administrator_initial_password}}