Back to articles
Technology Insight

Deploying NocoDB on a VPS: Transform Existing Relational Databases into Airtable-Like Smart Spreadsheets

June 2, 2026

Introduction: The Gap Between Relational Databases and Business Agility

In modern enterprise environments, data is often locked away in robust relational databases like MySQL or PostgreSQL. While these systems excel at data integrity and handling complex queries, they present a significant barrier to non-technical business teams. Interacting with raw data typically requires SQL knowledge or reliance on specialized internal developers to build custom user interfaces.

Conversely, modern teams crave the agility of collaborative, no-code tools like Airtable. However, migrating sensitive enterprise data to third-party SaaS platforms introduces severe compliance, security, and cost concerns. This is where NocoDB bridges the gap. By deploying NocoDB on a Virtual Private Server (VPS), organizations can transform their existing infrastructure into a highly intuitive Smart Spreadsheet while maintaining 100% data ownership.

What is NocoDB and Why Should You Deploy It?

NocoDB is a powerful open-source, no-code platform that functions as a smart spreadsheet layer over production-ready databases. Unlike other tools that require you to migrate your data into their proprietary ecosystems, NocoDB connects directly to your existing tables in real-time. It acts as an interactive UI, enabling team members to view, edit, filter, and automate workflows without writing a single line of code.

Key Benefits for Business and Technical Teams

  • 100% Data Sovereignty: Hosted entirely on your private VPS, ensuring compliance with strict security policies such as GDPR or HIPAA.
  • Seamless Integration: Directly connects to existing MySQL, PostgreSQL, MS SQL Server, and SQLite instances without disrupting legacy operations.
  • Familiar UI/UX: Provides a rich spreadsheet interface equipped with grid views, form views, gallery views, and kanban boards.
  • Cost Efficiency: Eliminates the per-user licensing fees associated with traditional SaaS tools, scaling cost-effectively as your team grows.
Note: NocoDB does not alter your existing database architecture. It simply reads the schema and presents it visually, allowing both technical and non-technical staff to collaborate safely.

Prerequisites for VPS Deployment

Before launching NocoDB on your VPS, ensure that your environment meets the following baseline requirements to guarantee stability and performance:

  1. A Cloud VPS Provider: DigitalOcean, Linode (Akamai), AWS EC2, or Vultr with at least 1 vCPU and 2GB RAM.
  2. Operating System: Ubuntu 22.04 LTS or newer is highly recommended.
  3. Docker and Docker Compose installed: Containerization simplifies deployment, configuration updates, and future scaling.
  4. An Existing Database: Connection details (Host, Port, Username, Password, Database Name) for your MySQL or PostgreSQL instance.

Step-by-Step Guide: Deploying NocoDB with Docker Compose

Utilizing Docker Compose is the most robust and maintainable approach for deploying NocoDB onto a production environment. Follow these technical steps to initiate your smart spreadsheet server.

Step 1: Connect to Your VPS and Create a Project Directory

First, access your server via SSH and establish a clean directory structure dedicated to the NocoDB deployment:

ssh root@your_vps_ip
mkdir -p /opt/nocodb
cd /opt/nocodb

Step 2: Configure the Docker Compose File

Create a docker-compose.yml file to define the application container parameters and direct NocoDB to interface with your target relational database. Use your preferred text editor to construct the configuration:

version: '3.8'

services:
  nocodb:
    image: nocodb/nocodb:latest
    container_name: nocodb-app
    ports:
      - "8080:8080"
    environment:
      - NC_DB=pg://db.example.com:5432?u=your_user&p=your_password&d=your_db_name
    restart: always

In the environment variable NC_DB, adjust the prefix based on your architecture. Use pg:// for PostgreSQL or mysql2:// for MySQL. Ensure firewall rules allow your VPS to communicate securely with the target database host.

Step 3: Launch the Container

Execute the docker command to download the official NocoDB image and spin up the containerized application in detached mode:

docker-compose up -d

Verify that the service is running perfectly by checking the logs: docker-compose logs -f.

Configuring Reverse Proxy and SSL Security

Exposing port 8080 directly to the internet poses unnecessary security vulnerabilities. To guarantee secure production readiness, it is vital to route your traffic through an Nginx reverse proxy wrapped with an SSL certificate from Let's Encrypt.

1. Install and Configure Nginx

Install Nginx on your host VPS and create a server block configuration directing domain traffic to internal port 8080. Point your domain A record (e.g., nocodb.yourcompany.com) to your VPS IP address beforehand.

2. Provision a Let's Encrypt SSL Certificate

Utilize Certbot to automate the retrieval and installation of a trusted SSL certificate, ensuring all enterprise data transactions are strictly encrypted via HTTPS:

sudo apt update
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d nocodb.yourcompany.com

Transforming Data into Smart Spreadsheets: The Business Value

Once you navigate to your securely configured domain, you will be prompted to create the initial root administrative account. From this dashboard, your teams gain access to an array of enterprise-grade features:

  • Rich Data Types: Enhance primitive SQL data types with modern attributes like single-select, multi-select, attachments, checkboxes, and collaborative user-assignment fields.
  • Advanced Filtering and Sorting: Non-technical operators can drill down into millions of rows of data using simple boolean logic interfaces.
  • Automated Forms: Create public or private data collection forms that feed directly back into your production PostgreSQL or MySQL database automatically.
  • API Generation: NocoDB immediately creates production-ready REST and GraphQL APIs based on your database schemas, empowering internal engineering teams to build auxiliary applications faster.

Conclusion: Empowering Organizations with Control and Agility

Deploying NocoDB on a private VPS serves as an ultimate compromise between engineering controls and operational flexibility. By wrapping a robust, scalable, and secure Airtable-like interface over your enterprise PostgreSQL or MySQL databases, you democratize data access safely. Business teams move faster with intuitive spreadsheets, while technical leadership maintains absolute authority over data governance, system security, and operational overhead.

Deploying NocoDB on a VPS: Transform Existing Relational Databases into Airtable-Like Smart Spreadsheets | DPTCloud