diff options
Diffstat (limited to 'src/main/docker')
-rw-r--r-- | src/main/docker/elasticsearch/config/elasticsearch.yml | 9 | ||||
-rwxr-xr-x | src/main/docker/kibana/startup.sh | 2 |
2 files changed, 6 insertions, 5 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 diff --git a/src/main/docker/kibana/startup.sh b/src/main/docker/kibana/startup.sh index da289ae..1ea475a 100755 --- a/src/main/docker/kibana/startup.sh +++ b/src/main/docker/kibana/startup.sh @@ -43,7 +43,7 @@ then elastic_url=$(grep elasticsearch.host /usr/share/kibana/config/kibana.yml | cut -d\ -f2) while [ ! "$RES" -eq "0" ] && [ "$PING_TIMEOUT" -gt "0" ]; do - curl $elastic_url + curl -k $elastic_url RES=$? sleep $WAIT_TIME let PING_TIMEOUT=$PING_TIMEOUT-$WAIT_TIME |