summaryrefslogtreecommitdiffstats
path: root/src/main/docker/elasticsearch/config/elasticsearch.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/docker/elasticsearch/config/elasticsearch.yml')
-rw-r--r--src/main/docker/elasticsearch/config/elasticsearch.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/docker/elasticsearch/config/elasticsearch.yml b/src/main/docker/elasticsearch/config/elasticsearch.yml
index 9380de5..55c2de4 100644
--- a/src/main/docker/elasticsearch/config/elasticsearch.yml
+++ b/src/main/docker/elasticsearch/config/elasticsearch.yml
@@ -4,16 +4,17 @@
#
cluster.name: "docker-cluster"
network.host: 0.0.0.0
+node.name: "cldash-es-node1"
# # minimum_master_nodes need to be explicitly set when bound on a public IP
# # set to 1 to allow single node clusters
# # Details: https://github.com/elastic/elasticsearch/pull/17288
-# discovery.zen.minimum_master_nodes: 1
-
+discovery.zen.minimum_master_nodes: 1
+discovery.seed_hosts: "cldash-es-node1"
# # Breaking change in 7.0
# # https://www.elastic.co/guide/en/elasticsearch/reference/7.0/breaking-changes-7.0.html#breaking_70_discovery_changes
-# cluster.initial_master_nodes:
-# - elasticsearch1
+cluster.initial_master_nodes:
+ - cldash-es-node1
# - docker-test-node-1
######## Start OpenDistro for Elasticsearch Security Demo Configuration ########
# WARNING: revise all the lines below before you go into production