PostgreSQL 15 database for the NDU Project, deployed on Render as a private service.
| Field | Value |
|---|---|
| Host | ndu-postgres (internal, within Render) |
| Port | 5432 |
| Database | ndu_project |
| Username | ndu_user |
| Password | (set as secret env var in Render dashboard) |
postgresql://ndu_user:<PASSWORD>@ndu-postgres:5432/ndu_project
- 10 GB persistent disk mounted at
/var/lib/postgresql/data - Data survives service restarts and deploys
- Render automated backups are available on paid plans
- Manual:
pg_dump -h ndu-postgres -U ndu_user ndu_project > backup.sql
docker build -t ndu-postgres .
docker run -d --name ndu-pg \
-p 5432:5432 \
-e POSTGRES_USER=ndu_user \
-e POSTGRES_PASSWORD=ndu_secure_pass_2026 \
-e POSTGRES_DB=ndu_project \
ndu-postgres