BaaS & Databases1 GB RAM (Pro recommended)· Port 8080

Deploy NocoDB Smart Spreadsheet with Docker Compose

Open-source Airtable alternative that turns any PostgreSQL or MySQL database into a collaborative spreadsheet + REST API.

1. Production docker-compose.yml Configuration

Copy this stack definition or deploy directly from your Vexlo Cloud console with automatic Let's Encrypt TLS and persistent volume mounts.

docker-compose.yml
yaml
services:
  nocodb:
    image: nocodb/nocodb:latest
    restart: unless-stopped
    ports:
      - "8080:8080"
    environment:
      - NC_DB=${NC_DB:-pg://postgres:5432?u=postgres&p=secret&d=nocodb}
      - NC_AUTH_JWT_SECRET=${NC_AUTH_JWT_SECRET:-32-char-jwt-secret-key}
    volumes:
      - app_data:/usr/app/data
    depends_on:
      - postgres

  postgres:
    image: postgres:16-alpine
    restart: unless-stopped
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-change-me-db-password}
      - POSTGRES_DB=nocodb
    volumes:
      - postgres_data:/var/lib/postgresql/data

volumes:
  app_data:
  postgres_data:

2. Required Environment Variables

VariableDefault / ExampleDescription
NC_DBpg://postgres:5432?u=postgres&p=secret&d=nocodbPrimary metadata database connection string.
NC_AUTH_JWT_SECRET32-char-jwt-secret-keySecret used to sign NocoDB user authentication tokens.

NocoDB Smart Spreadsheet Self-Hosting FAQs

How much RAM is required to self-host NocoDB Smart Spreadsheet in production?

NocoDB Smart Spreadsheet requires a minimum of 1 GB RAM (Pro recommended). On Vexlo Cloud Pro (₹149/mo via UPI in India or $5/mo globally), you get 2 vCPU, 3 GB RAM, and 2 managed databases—more than enough headroom for production workloads.

How do I expose NocoDB Smart Spreadsheet with automatic HTTPS/SSL on Vexlo Cloud?

Deploy the nocodb/nocodb:latest container on Vexlo Cloud, set the exposed port to 8080, and attach your custom domain in the Domains tab. Vexlo automatically provisions and renews Let's Encrypt TLS certificates.

How is persistent data backed up for NocoDB Smart Spreadsheet?

Mount /usr/app/data to a persistent Docker volume and connect Vexlo Cloud's automated S3 / Cloudflare R2 backup scheduler to snapshot your database daily or weekly.

More 1-Click Docker Templates

View all 25 templates →