Browse Source

Merge pull request #26 from pelias/es5-image

set discovery.type in Dockefile
pull/22/head
Peter Johnson 6 years ago committed by GitHub
parent
commit
31151a32c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      images/elasticsearch/5.6.12/Dockerfile

1
images/elasticsearch/5.6.12/Dockerfile

@ -9,6 +9,7 @@ ENV ES_JAVA_OPTS '-Xms512m -Xmx512m'
ENV xpack.security.enabled 'false' ENV xpack.security.enabled 'false'
ENV xpack.monitoring.enabled 'false' ENV xpack.monitoring.enabled 'false'
ENV cluster.name 'pelias-dev' ENV cluster.name 'pelias-dev'
ENV discovery.type 'single-node'
ENV bootstrap.memory_lock 'true' ENV bootstrap.memory_lock 'true'
RUN echo 'vm.max_map_count=262144' >> /etc/sysctl.conf RUN echo 'vm.max_map_count=262144' >> /etc/sysctl.conf

Loading…
Cancel
Save