Multiple Node Cluster through Docker

I want an ES cluster to run on multiple VMs using docker-compose and I'm not sure if there's anything special that I need to do with the docker-compose.yml file so that this is set up correctly? I know that I need to add the following to the elasticsearch.yml but I'm not sure what to do on the docker-compose side. I think I will just need to pass the modified elasticsearch.yml throught he docker-compose file but I am not sure.

discovery.zen.ping.multicast.enabled: true
discovery.zen.ping.unicast.hosts: ["{vm1_ip_addr}", "{vm2_ip_addr}"]

Where can I find out more about this? Thanks!

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