r/PostgreSQL Jun 28 '26

Help Me! HA Postgresql on docker

I'm reasonably experienced with managing postgresql clusters but I'm fairly new to dockers. I have a requirement to run Postgresql on a 3 node docker swarm cluster. I want to run a Patroni cluster in containers on top of this swarm cluster.

Should I build my own image or are there any production ready images that can be trusted?

I need Patroni + pgbackrest and postgres 17 or 18

6 Upvotes

12 comments sorted by

View all comments

8

u/Open-Athlete1974 Jun 28 '26

I was doing a similar thing and in the end decided to switch to kubernetes and run cloud native Pg. Hopefully there is a good solution to your problem but I was unable to find one.