Set transport.host on elasticsearch.yml config file to avois Bootstrap Checks failure on production environments (#483)

This commit is contained in:
GrupoCITEC 2017-01-18 19:39:33 -02:00 committed by Thomas VIAL
parent 0c78cebd03
commit 3bd07af462

View file

@ -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