For production deployments we would suggest kubernetes deploymenets, there you have values.yaml files where you can specify multiple hosts. Elasticsearch is a special case i believe where you typically point to a load balancer and defer that responsability to the cluster.
thank you 1
r
rich-policeman-92383
05/17/2022, 6:01 PM
But if we can specify multiple hosts with k8 deployment then same should work with docker compose as well.