Skip to content

Commit

Permalink
Fix elasticsearch configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Szpadel committed May 25, 2023
1 parent b7b8b10 commit c02314e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ RUN rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch \
&& /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-phonetic \
&& /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu \
&& rm -rf /var/tmp/* /usr/share/elasticsearch/modules/x-pack-ml/platform/{darwin,windows}-* \
# Remove auto hardcoded master hostname
&& sed '/cluster\.initial_master_nodes/d' -i /etc/elasticsearch/elasticsearch.yml \
# Disable xpack security if enabled
&& sed -i 's/^xpack.security.enabled: true/xpack.security.enabled: false/' -i /etc/elasticsearch/elasticsearch.yml \
&& yum clean all

ARG MYSQL_FLAVOR="mariadb"
Expand Down

0 comments on commit c02314e

Please sign in to comment.