Multiple elasticsearch node with docker on differents Hosts

Hi, i just want to run different elasticsearch nodes in 3/4 hosts, all the hosts have a docker-compose like:

version: '3'
    image: sebp/elk:730
      - 5601:5601
      - 9200:9200
      - 9300:9300
      - 5000:5000
      - 5044:5044
      - 3333:3333
      - KIBANA_START=0

And a different elasticsearch.yml adding: true
node.master: true true ["host1:9300",...]
cluster.initial_master_nodes: ["elk1", "elk2"...]

with the and changed.

For me it was impossible to connect the nodes, the host1 start normally, but the host2,... says that there are no master node eligible on the Host1 IP, i can give more info and sorry, i'm new with elk.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.