ha-postgres-docker-stack
ha-postgres-docker-stack copied to clipboard
bootstrap etcd cluster
Etcd should run in a cluster the question is how to bootstrap the cluster config?
One option is to define each etcd node as a separate service similar to how the dbs are defined, like here: https://github.com/ihcsim/stolon-swarm/blob/master/docker-compose.yml#L49.
Though ideally the etcd cluster could be defined as one service which would make it easier to scale dynamically.