No-Code Database⭐ 48k+ GitHubLicense: AGPL v3

How to Self-Host NocoDB with Docker Compose

Open-Source Alternative to: Airtable ($20/seat/mo)

NocoDB removes Airtable's strict row count penalties and expensive per-seat pricing. Connect your existing SQL database and get instant Kanban, Gallery, Form, and Grid views.

MINIMUM HARDWARE
1 GB RAM, 1 vCPU, 10 GB Disk
ESTIMATED SAVINGS
$2,400/year
OFFICIAL REPOSITORY
github.com/nocodb/nocodb ↗

Production Docker Compose File

Copy this tested configuration directly into your server's directory:

🐳 docker-compose.yml
version: '3.8'
services:
  nocodb:
    image: nocodb/nocodb:latest
    restart: always
    ports:
      - '8080:8080'
    environment:
      - NC_DB=pg://db:5432?u=nocodb&p=password&d=nocodb
    volumes:
      - nc_data:/usr/app/data
  db:
    image: postgres:15-alpine
    environment:
      - POSTGRES_USER=nocodb
      - POSTGRES_PASSWORD=password
      - POSTGRES_DB=nocodb
    volumes:
      - db_data:/var/lib/postgresql/data
volumes:
  nc_data:
  db_data:

Quick Deployment Steps

1. docker run -d --name nocodb -p 8080:8080 -v nocodb_data:/usr/app/data nocodb/nocodb:latest 2. Open http://localhost:8080 3. Connect an existing SQL database or let NocoDB create a default SQLite database.

Key Advantages & Trade-Offs

✓ Why Self-Host NocoDB?

  • Zero row count caps (supports millions of database records)
  • Connects to existing production databases without altering schemas
  • Automatic REST and GraphQL API generation

⚠ What to Keep in Mind

  • Automation action integrations are lighter than Airtable's ecosystem
  • Complex relational rollups require understanding SQL foreign keys

More Self-Hosted Alternatives

Knowledge & Workspace
AppFlowy
Replaces Notion ($10/seat/mo)
Project Management
Plane
Replaces Jira ($8.50/seat/mo) & Linear
Team Communication
Mattermost
Replaces Slack ($8.75/seat/mo)