Set discovery.type option in Compose file for easier override

ref. #410
This commit is contained in:
Antoine Cotten 2019-12-05 15:26:53 +01:00
parent d7f5deb6ff
commit 7591ea2f19
No known key found for this signature in database
GPG Key ID: 94637E68D4A79DD0
3 changed files with 6 additions and 5 deletions

View File

@ -20,6 +20,9 @@ services:
environment: environment:
ES_JAVA_OPTS: "-Xmx256m -Xms256m" ES_JAVA_OPTS: "-Xmx256m -Xms256m"
ELASTIC_PASSWORD: changeme ELASTIC_PASSWORD: changeme
# Use single node discovery in order to disable production mode and avoid bootstrap checks
# see https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html
discovery.type: single-node
networks: networks:
- elk - elk

View File

@ -13,6 +13,9 @@ services:
environment: environment:
ES_JAVA_OPTS: "-Xmx256m -Xms256m" ES_JAVA_OPTS: "-Xmx256m -Xms256m"
ELASTIC_PASSWORD: changeme ELASTIC_PASSWORD: changeme
# Use single node discovery in order to disable production mode and avoid bootstrap checks
# see https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html
discovery.type: single-node
networks: networks:
- elk - elk
deploy: deploy:

View File

@ -5,11 +5,6 @@
cluster.name: "docker-cluster" cluster.name: "docker-cluster"
network.host: 0.0.0.0 network.host: 0.0.0.0
## Use single node discovery in order to disable production mode and avoid bootstrap checks
## see https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html
#
discovery.type: single-node
## X-Pack settings ## X-Pack settings
## see https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-xpack.html ## see https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-xpack.html
# #