add preferIPv4addresses to java_opts
parent
5eead6fc02
commit
26ef1eb531
|
@ -13,8 +13,6 @@ platforms:
|
||||||
- "8080/tcp"
|
- "8080/tcp"
|
||||||
- "8443/tcp"
|
- "8443/tcp"
|
||||||
- "8009/tcp"
|
- "8009/tcp"
|
||||||
published_ports:
|
|
||||||
- 0.0.0.0:8443:8443/TCP
|
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
config_options:
|
config_options:
|
||||||
|
|
|
@ -81,7 +81,7 @@ startKeycloak() {
|
||||||
-Djboss.https.port=${KEYCLOAK_HTTPS_PORT} \
|
-Djboss.https.port=${KEYCLOAK_HTTPS_PORT} \
|
||||||
-Djboss.management.http.port=${KEYCLOAK_MANAGEMENT_HTTP_PORT} \
|
-Djboss.management.http.port=${KEYCLOAK_MANAGEMENT_HTTP_PORT} \
|
||||||
-Djboss.management.https.port=${KEYCLOAK_MANAGEMENT_HTTPS_PORT} \
|
-Djboss.management.https.port=${KEYCLOAK_MANAGEMENT_HTTPS_PORT} \
|
||||||
-Djboss.node.name={{ inventory_hostname }} {% if ansible_facts.virtualization_type in ['docker','oci'] %}-Djava.net.preferIPv4Stack=true {% endif %}\
|
-Djboss.node.name={{ inventory_hostname }} {% if ansible_facts.virtualization_type in ['docker','oci'] %}-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses=true {% endif %}\
|
||||||
2>&1 >> "${KEYCLOAK_LOGFILE}" &
|
2>&1 >> "${KEYCLOAK_LOGFILE}" &
|
||||||
echo "${!}" > "${KEYCLOAK_PIDFILE}"
|
echo "${!}" > "${KEYCLOAK_PIDFILE}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue