A Dockerized PostgreSQL server for sharing DaVinci Resolve projects across multiple workstations.
Works on Linux, macOS, Windows, Synology, QNAP, Unraid, Raspberry Pi β anywhere Docker runs.
The Synology problem: DSM's internal PostgreSQL occupies
127.0.0.1:5432. Binding a container to0.0.0.0:5432fails. DaVinci Resolve doesn't allow custom ports in its UI, so5433is not an option. This repo solves that with a single-line fix β read more.
If you're not on Synology, this is still the simplest way to run a Resolve project server on any Docker host.
- π¬ PostgreSQL 13 β recommended by Blackmagic for Resolve 18β21
- πΎ Automatic backups β daily copies with configurable rotation (days, weeks, months)
- π³ Cross-platform β any system with Docker
- π§ Synology-compatible β resolves the port 5432 conflict with DSM's internal PostgreSQL
- π VPN-ready β works remotely over WireGuard, Tailscale, OpenVPN, etc.
- β‘ Healthcheck-aware β backups wait for Postgres to be fully ready before starting
- π Credentials via
.envβ never hardcoded, never committed to Git
- Docker and Docker Compose installed on the host system
- DaVinci Resolve 18, 19, 20, or 21 (Studio or Free)
- Workstations on the same local network, or connected via VPN
davinci-resolve-server/
βββ docker-compose.yml # Postgres + backup services
βββ .env # Your credentials (git-ignored)
βββ .env.example # Credentials template
βββ init/
β βββ init.sql # Grants CREATEDB to the postgres user
βββ docs/
β βββ server.png # Screenshot
βββ data/ # PostgreSQL data volume (auto-created, git-ignored)
βββ backups/ # Automatic backups (auto-created, git-ignored)
βββ README.md
git clone https://github.com/YOUR_USER/davinci-resolve-server.git
cd davinci-resolve-servercp .env.example .envEdit .env:
POSTGRES_USER=postgres
POSTGRES_PASSWORD=DaVinci
POSTGRES_DB=resolve
DaVinciis the default password in Blackmagic's documentation. You can change it, but you'll need to re-enter it on each workstation.
docker compose up -dVerify both containers are running:
docker ps | grep davinciYou should see davinci-postgres and davinci-pgbackup.
On each workstation, open DaVinci Resolve:
- Welcome screen β Add Project Library
- Select Create (first workstation) or Connect (all others)
- Fill in:
Field Value Name Anything (e.g. MyServer)Location Server IP (e.g. 192.168.1.10)Username postgresPassword DaVinci - Click Create
First workstation uses Create. All others use Connect.
DaVinci needs to create the database structure once β subsequent connections just join it.
Check that port 5432 is free, then start normally:
# Linux / macOS
sudo netstat -tlnp | grep 5432
# Windows (PowerShell)
netstat -an | findstr 5432
# Start
docker compose up -dPort conflict with DSM? See the dedicated section below.
- Container Station β Create β Create Application
- Paste
docker-compose.ymlcontents - Set volume paths to folders on your QNAP
- Validate YAML and create
- Copy the project folder to your Unraid
docker compose up -dfrom the terminal- Adjust volume paths to match your shares
DSM runs its own PostgreSQL (for Synology Photos, Drive, etc.) on port 5432. Binding a container to 0.0.0.0:5432 fails:
Error: listen tcp4 0.0.0.0:5432: bind: address already in use
DaVinci Resolve does not allow specifying a custom port in its connection UI β so 5433 is not a workaround.
DSM's PostgreSQL listens only on 127.0.0.1 (localhost). We can bind our container to the LAN IP of the NAS instead, and both coexist on the same port without touching each other.
Edit the ports line in docker-compose.yml:
ports:
- "192.168.1.91:5432:5432" # Your Synology's LAN IP β not 0.0.0.0Replace
192.168.1.91with your actual Synology IP (check DSM β Control Panel β Network).
Result:
| Address | Who uses it |
|---|---|
127.0.0.1:5432 |
DSM's PostgreSQL β untouched |
192.168.1.91:5432 |
DaVinci's container β your server |
No collisions. No stopped DSM services. Synology Photos and Drive keep working normally.
sudo netstat -tlnp | grep 5432127.0.0.1:5432β this fix works for you β0.0.0.0:5432β something else is using the port, investigate further
mkdir -p /volume1/docker/davinci-resolve-server
cd /volume1/docker/davinci-resolve-server| DaVinci Resolve | Recommended PostgreSQL |
|---|---|
| 12.5.4 β 17 | 9.5 (EOL) or 11 |
| 18 β 21 | 13 β this repo |
For Resolve 17 or earlier, change both images in docker-compose.yml:
# postgres service
image: postgres:11
# pgbackups service
image: prodrigestivill/postgres-backup-local:11Backups are saved automatically in backups/ with this rotation:
| Type | Default retention |
|---|---|
| Daily | 7 days |
| Weekly | 4 weeks |
| Monthly | 6 months |
Adjust in docker-compose.yml:
SCHEDULE: "@daily" # "@hourly", "@daily", "@weekly", "@every 6h"
BACKUP_KEEP_DAYS: 7
BACKUP_KEEP_WEEKS: 4
BACKUP_KEEP_MONTHS: 6To restore: DaVinci Resolve β Project Manager β Import project.
Never expose port 5432 to the internet. Use a VPN instead:
| VPN | Notes |
|---|---|
| Tailscale | Easiest β client for almost every platform |
| WireGuard | Lightest β built into most modern NAS and routers |
| OpenVPN | Classic β available on most NAS devices |
With VPN active, your remote machine sees the LAN as if it were local.
# List databases created by DaVinci
docker exec -it davinci-postgres psql -U postgres -l
# View running containers
docker ps | grep davinci
# Server logs
docker logs davinci-postgres
# Backup service logs
docker logs davinci-pgbackup
# Restart
docker compose restart
# Stop
docker compose down
# Start
docker compose up -d"Cannot connect to the network project library"
- Container running?
docker ps | grep davinci - Any errors?
docker logs davinci-postgres - Firewall allows port 5432 from your LAN?
- First connection must use Create, not Connect
"could not translate host name"
You're entering the port in the Location field (e.g. 192.168.1.91:5432). DaVinci only accepts a bare IP there β no port. Make sure the container is mapped to port 5432 and enter only the IP.
"address already in use" on startup
Port 5432 is occupied.
- Synology β use the IP-specific binding described above
- Other systems β find what's using it:
netstat -tlnp | grep 5432, stop it if safe
Container starts but DaVinci won't connect
Verify PostgreSQL accepts remote connections:
docker exec -it davinci-postgres bash
grep listen_addresses /var/lib/postgresql/data/postgresql.conf
cat /var/lib/postgresql/data/pg_hba.conf | grep -v "^#" | grep -v "^$"listen_addresses must be '*' and pg_hba.conf must contain host all all 0.0.0.0/0 md5.
Both are correct by default with postgres:13 in Docker.
- elliotmatson/Docker-Davinci-Resolve-Project-Server β original inspiration
- prodrigestivill/docker-postgres-backup-local β backup image
- sethgoldin/davinci-resolve-postgresql-workflow-tools β PostgreSQL + Resolve reference