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,12 +1,12 @@
import_realm: True # If True realm will be imported. If false skip. import_realm: True # If True realm will be imported. If false skip.
features: features:
matomo: true matomo: true
css: false css: true
port-ui-desktop: true port-ui-desktop: true
ldap: true ldap: true
central_database: true central_database: true
recaptcha: true recaptcha: true
logout: true logout: true
csp: csp:
flags: flags:
script-src-elem: script-src-elem:

View File

@ -22,4 +22,10 @@ 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. # 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_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)}}" 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 %}