Set discovery.type option in Compose file for easier override
ref. #410
This commit is contained in:
parent
d7f5deb6ff
commit
7591ea2f19
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue