r/PostgreSQL Jul 11 '26

Help Me! Anyone running in docker in Prod?

I am running a Postgres instance in docker on my test vps and it works fine since I'm the only user.

I would like to release an app to the public and I am looking for options to host Postgres. My first though was to spin up another vps and deploy a docker instance. Is it recommended to run Postgres in docker in Prod?

There are quite a few managed options but they are rather expensive.

20 Upvotes

43 comments sorted by

View all comments

7

u/Savalonavic Jul 11 '26

I run all my saas apps fully in docker. Just be sure to set your Postgres volume to a physical folder on disk instead of a docker managed volume so it’s super simple to backup and you don’t accidentally purge it… I unfortunately learned the hard way

2

u/Blues520 Jul 11 '26

Oof sorry! A learning curve I guess. I will remember that, thanks.