single-node for heavynode

This commit is contained in:
m0duspwnens
2023-06-13 09:22:17 -04:00
parent 49b150797d
commit c7c4e65df1

View File

@@ -32,7 +32,7 @@ so-elasticsearch:
{% endfor %}
{% endif %}
- environment:
{% if LOGSTASH_NODES | length == 1 %}
{% if LOGSTASH_NODES | length == 1 or GLOBALS.role == 'so-heavynode' %}
- discovery.type=single-node
{% endif %}
- ES_JAVA_OPTS=-Xms{{ GLOBALS.elasticsearch.es_heap }} -Xmx{{ GLOBALS.elasticsearch.es_heap }} -Des.transport.cname_in_publish_address=true -Dlog4j2.formatMsgNoLookups=true