Add the option to set the listening host.

This commit is contained in:
Andrea Dell'Amico 2025-05-14 19:38:37 +02:00
parent 6ea49b6019
commit aea310d24d
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ solr_jmx_port_1: 8601
solr_jmx_enabled: 'false'
solr_user: solr
solr_group: solr
solr_jetty_host: "127.0.0.1"
# We need to define this one because we are using the tomcat multiple instances role
solr_base_dir: /opt
solr_server_dir: '{{ solr_base_dir }}/solr'

View File

@ -29,6 +29,9 @@ SOLR_INSTALL_DIR="{{ solr_data_dir }}"
# Increase Java Heap as needed to support your indexing / query needs
SOLR_HEAP="{{ solr_heap }}"
# Listen address. Defaults to localhost
SOLR_JETTY_HOST="{{ solr_jetty_host }}"
# Expert: If you want finer control over memory options, specify them directly
# Comment out SOLR_HEAP if you are using this though, that takes precedence
#SOLR_JAVA_MEM="-Xms512m -Xmx512m"