mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Set transport.host on elasticsearch.yml config file to avois Bootstrap Checks failure on production environments (#483)
This commit is contained in:
parent
0c78cebd03
commit
3bd07af462
|
@ -21,3 +21,6 @@ RUN gosu logstash bin/logstash-plugin install --local --no-verify logstash-filte
|
||||||
ADD 02-beats-input.conf /etc/logstash/conf.d/
|
ADD 02-beats-input.conf /etc/logstash/conf.d/
|
||||||
# override syslog
|
# override syslog
|
||||||
ADD 10-syslog.conf /etc/logstash/conf.d/
|
ADD 10-syslog.conf /etc/logstash/conf.d/
|
||||||
|
|
||||||
|
# avoid Bootstrap Checks failure on production
|
||||||
|
RUN /bin/grep -q -F 'transport.host' /etc/elasticsearch/elasticsearch.yml || echo "transport.host: 127.0.0.1" >> /etc/elasticsearch/elasticsearch.yml
|
||||||
|
|
Loading…
Reference in a new issue