Hello, i am trying to run a 3 node cluster for Elasticsearch and kibana across 3 Virtual machines, each VM running 1 node each. I refer to the documentation " Start a multi-node cluster with Docker Compose" at https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html which gives a docker compose guide on how to create 3 nodes on a single machine and i had successfully done it.
May i have advice on how to proceed to make the nodes to run on separate machines? Do i have to separate the compose file services and run them one after another, e.g. VM1: setup, es01, kibana | VM2: es02 |VM3: es03. In this case how do i share the certificates across the VMs?