Self-Host NocoDB with Docker Compose
NocoDB is an open source smart spreadsheet that connects directly to existing databases like MySQL, PostgreSQL, SQL Server, and SQLite, creating instant collaborative REST APIs, grid, gallery, and kanban views.
Minimum Hardware Requirements
version: '3.8'
services:
nocodb:
image: nocodb/nocodb:latest
container_name: nocodb
restart: unless-stopped
ports:
- "8080:8080"
environment:
- NODE_ENV=production
- TZ=UTC
volumes:
- nocodb_data:/data
volumes:
nocodb_data:
driver: local
docker-compose.yml and run:
docker compose up -d
Key Environment Variables
Recommended baseline environment configuration for this container
| Variable Name | Default / Recommended Value |
|---|---|
| NC_DB | pg://postgres:secret@postgres:5432/nocodb |
| NC_AUTH_JWT_SECRET | nocodb_jwt_secret_phrase |
VPS RAM & Server Sizing Calculator
Planning to run NocoDB alone or alongside other self-hosted containers on one VPS? Toggle apps to calculate your exact RAM needs with a 25% safety buffer.
Matched Cloud VPS Tiers for Selected Workload:
Replaces Airtable
No-code relational database SaaS with strict row limits, API rate restrictions, and costly enterprise tiers.
More Databases Apps View All →
Compare NocoDB
Benchmark specs head-to-head with other open-source alternatives
Compare NocoDB Side-by-Side
Select any open-source tool from the dropdown to run a hardware, memory, and popularity benchmark against NocoDB.