Specify a bind address for jgroups.
This commit is contained in:
parent
bd41510ba7
commit
5bb4ad21fb
|
@ -67,7 +67,7 @@ spi-avatar-storage-avatar-storage-s3-root-bucket={{ keycloak_s3_avatar_bucket }}
|
|||
# Do not attach route to cookies and rely on the session affinity capabilities from reverse proxy
|
||||
spi-sticky-session-encoder-infinispan-should-attach-route={{ keycloak_reverse_proxy_infinispan_attach_route }}
|
||||
cache={{ keycloak_cache_type }}
|
||||
cache-stack={{ keycloak_cache_stack }}
|
||||
# cache-stack={{ keycloak_cache_stack }}
|
||||
cache-config-file={{ keycloak_conf_directory }}/cache-ispn.xml
|
||||
{% endif %}
|
||||
# Logging
|
||||
|
|
|
@ -18,7 +18,7 @@ Environment=JAVA={{ keycloak_openjdk_bin }}
|
|||
Environment=JAVA_HOME=/usr/lib/jvm/java-{{ keycloak_openjdk_runtime_version}}-openjdk-amd64
|
||||
Environment=JAVA_OPTS="{{ keycloak_java_opts }}"
|
||||
{% if not keycloak_jgroups_extended_stack %}
|
||||
Environment=JAVA_OPTS_APPEND="-Djgroups.mcast_addr={{ keycloak_jgroups_multicast_address}} -Djgroups.mcast_port={{ keycloak_jgroups_multicast_port }}"
|
||||
Environment=JAVA_OPTS_APPEND="-Djgroups.bind_addr={{ keycloak_jgroups_multicast_bind_host | default(ansible_default_ipv4.address) }} -Djgroups.mcast_addr={{ keycloak_jgroups_multicast_address}} -Djgroups.mcast_port={{ keycloak_jgroups_multicast_port }}"
|
||||
{% endif %}
|
||||
User={{ keycloak_user }}
|
||||
Group={{ keycloak_user }}
|
||||
|
|
Loading…
Reference in New Issue