by GordonS · 5y ago · 0 comments
In terms of configuring your stack, you use regular Compose files, with a few enhancements available (such as better support for secrets). I love it!
I have experienced 1 networking issue, but only specifically when keepalives are disabled on Windows (where I use Docker for dev/test only)[0]. When using an overlay network, network connections to dockerised Postgres go "stale" after 15 minutes. I workaround it by publish the Postgres port in "host" mode instead of the default of "ingress" mode using `endpoint_mode: dnsrr`.
[0] https://success.mirantis.com/article/ipvs-connection-timeout...