Hello, I have a separate Postgres db container, because I’ve noticed some quite severe problem stopping and starting Discourse container, and because I prefer to have db apart from Discourse program.
As stated here, “Discourse requires PostgreSQL 13 or later”, so I pulled the last version that is 14; no problem using it but I noticed an error during automatic backup, caused by pg_dump version.
Not sure it’s very related to my question. I already have two containers installation, working fine, Discourse in a container, Postgres 14 in another. The only thing not working, afaik, is pg_dump, that for some reason refuses to go during automatic Discourse backup.
I don’t know if it’s a Discourse or Postgres problem, but I find strange that everything is working except a single command.
Our base image ships with both pg client tools and server on the same major version. Since you are running a different image for PostgreSQL, and it has a different major version, you will need to handle the backup.