I'm moving my services from Unraid to LXC containers on Proxmox and taking the opportunity to tidy up the setup. Several of the applications need PostgreSQL, and I'm unsure whether to run one shared PostgreSQL instance with a separate database and user for each app, or deploy a separate PostgreSQL instance alongside every application. I'd like to balance resource usage, isolation, maintenance, and compatibility. What's the usual best practice for a homelab?
4 Answers
A good middle ground is one PostgreSQL server with a separate database and user for each application. It avoids maintaining several database installations while still keeping schemas, permissions, backups, and credentials separated. I’d only split an app into its own PostgreSQL instance if it needs a different PostgreSQL version, has unusual configuration requirements, or becomes resource-intensive enough to affect the other services.
There’s also a strong case for one PostgreSQL instance per service, especially when using application-provided deployment examples. Different applications may require different PostgreSQL versions, extensions, or upgrade schedules, and sharing an instance can create compatibility or schema conflicts. The resource overhead is usually modest, but the operational overhead is higher.
For a small home server, I’d probably start with one PostgreSQL instance and isolate each application with its own database, role, and credentials. Make sure each service has its own schema or database rather than sharing tables or the default schema. If one application later causes compatibility, performance, or backup problems, move it to a dedicated instance then.
The important distinction is between a PostgreSQL server and the databases inside it. Multiple databases in one PostgreSQL installation are relatively lightweight, while separate installations provide stronger isolation but require more maintenance. Whichever layout you choose, keep backups and restore testing per application, and check each app’s supported PostgreSQL versions before combining everything.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures