From bdfc18910d6595a746349c5f695d25b834021fc3 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Fri, 28 Sep 2018 15:58:59 +0200 Subject: [PATCH] feat(es5): set discovery.type in Dockefile --- images/elasticsearch/5.6.12/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/images/elasticsearch/5.6.12/Dockerfile b/images/elasticsearch/5.6.12/Dockerfile index c38aaed..b65bc34 100644 --- a/images/elasticsearch/5.6.12/Dockerfile +++ b/images/elasticsearch/5.6.12/Dockerfile @@ -9,6 +9,7 @@ ENV ES_JAVA_OPTS '-Xms512m -Xmx512m' ENV xpack.security.enabled 'false' ENV xpack.monitoring.enabled 'false' ENV cluster.name 'pelias-dev' +ENV discovery.type 'single-node' ENV bootstrap.memory_lock 'true' RUN echo 'vm.max_map_count=262144' >> /etc/sysctl.conf