ha-postgres-docker-stack
ha-postgres-docker-stack copied to clipboard
Dynamic config for haproxy
If the shared storage issue get sorted this is the only other blocker to easily scaling dbs e.g.
docker service scale db=5
The patroni dev dockerfile setup use confd and toml templates to generate the haproxy configuration dynamically link.
Could take this approach but I wonder is it possible to handle this with docker swarms secrets/conifgs api?