2022-04-07 12:07:08 +00:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
2022-05-17 16:59:10 +00:00
|
|
|
{% if keycloak_quarkus_db_enabled %}
|
2022-04-07 12:07:08 +00:00
|
|
|
# Database
|
2022-05-17 16:59:10 +00:00
|
|
|
db={{ keycloak_quarkus_jdbc_engine }}
|
|
|
|
db-url={{ keycloak_quarkus_jdbc_url }}
|
|
|
|
db-username={{ keycloak_quarkus_db_user }}
|
|
|
|
db-password={{ keycloak_quarkus_db_pass }}
|
|
|
|
{% endif %}
|
2022-04-07 12:07:08 +00:00
|
|
|
|
|
|
|
# Observability
|
2022-05-17 16:59:10 +00:00
|
|
|
metrics-enabled={{ keycloak_quarkus_metrics_enabled }}
|
|
|
|
health-enabled={{ keycloak_quarkus_health_enabled }}
|
2022-04-07 12:07:08 +00:00
|
|
|
|
|
|
|
# HTTP
|
2022-05-17 16:59:10 +00:00
|
|
|
http-enabled={{ keycloak_quarkus_http_enabled }}
|
|
|
|
http-port={{ keycloak_quarkus_http_port }}
|
|
|
|
|
|
|
|
# HTTPS
|
|
|
|
https-port={{ keycloak_quarkus_https_port }}
|
|
|
|
{% if keycloak_quarkus_https_enabled %}
|
|
|
|
https-certificate-file={{ keycloak.home }}/{{ keycloak_quarkus_cert_file}}
|
|
|
|
https-certificate-key-file={{ keycloak.home }}/{{ keycloak_quarkus_key_file }}
|
|
|
|
{% endif %}
|
2022-04-07 12:07:08 +00:00
|
|
|
|
|
|
|
# Hostname for the Keycloak server.
|
|
|
|
hostname={{ keycloak_quarkus_host }}
|
|
|
|
hostname-path={{ keycloak_quarkus_http_relative_path }}
|
|
|
|
|
|
|
|
# Cluster
|
2022-05-17 16:59:10 +00:00
|
|
|
{% if keycloak_quarkus_ha_enabled %}
|
|
|
|
cache=ispn
|
|
|
|
cache-config-file=conf/cache-ispn.xml
|
|
|
|
cache-stack=tcp
|
|
|
|
{% endif %}
|
2022-04-07 12:07:08 +00:00
|
|
|
|
|
|
|
# Proxy
|
2022-05-18 07:29:28 +00:00
|
|
|
proxy={{ keycloak_quarkus_proxy_mode }}
|
|
|
|
# Do not attach route to cookies and rely on the session affinity capabilities from reverse proxy
|
|
|
|
#spi-sticky-session-encoder-infinispan-should-attach-route=false
|
2022-04-07 12:07:08 +00:00
|
|
|
|
|
|
|
# Logging
|
|
|
|
#log-format=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%e%n
|
2022-05-18 07:29:28 +00:00
|
|
|
log={{ keycloak_quarkus_log }}
|
2022-05-17 16:59:10 +00:00
|
|
|
log-level={{ keycloak.log.level }}
|
|
|
|
log-file={{ keycloak.log.file }}
|
|
|
|
log-file-format={{ keycloak.log.format }}
|