mirror of
https://github.com/nocodb/nocodb.git
synced 2026-10-28 16:46:31 +08:00
Managed Postgres: Managed DB with SSL + External Redis
Production-ready configuration using an external managed PostgreSQL database (AWS RDS, Azure Database, Google Cloud SQL) with SSL, plus external Redis (ElastiCache, Memorystore, Azure Cache).
- PostgreSQL: External managed database with public CA SSL
- Redis: External
- Proxy: None. NocoDB on port 8080. Put your own LB or proxy in front.
Usage
cp -r examples/managed-postgres ./my-deployment
cd my-deployment
# Edit docker.env: set NC_REDIS_URL
# Edit nocodb/db.json: set your database host, credentials, and port
docker compose up -d
The ssl.rejectUnauthorized: true setting in db.json works with managed databases that use publicly trusted CA certificates (RDS, Azure, Cloud SQL).
Behind a load balancer
If you're running behind an ALB, Nginx, or other reverse proxy, forward traffic to port 8080. You can change the host-side port in docker-compose.yml if needed:
ports:
- '3000:8080' # expose on port 3000 instead