Added debugging option to keycloak

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-25 20:14:04 +02:00
parent 27973c2773
commit 1240d3bfdf
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
2 changed files with 9 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import_realm: True # If True realm will be imported. If false skip.
features:
matomo: true
css: false
css: true
port-ui-desktop: true
ldap: true
central_database: true

View File

@ -23,3 +23,9 @@ 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= "{{applications | get_app_conf(application_id, 'users.administrator.username', True)}}"
KC_BOOTSTRAP_ADMIN_PASSWORD= "{{applications | get_app_conf(application_id, 'credentials.administrator_password', True)}}"
# Enable detailed logs
{% if enable_debug | bool %}
KC_LOG_LEVEL=DEBUG
KC_LOG_CONSOLE_ENABLED=true
{% endif %}