NocoDB puts a spreadsheet-style interface on top of a real database. Your team gets grids, forms and kanban boards, and every row lands in Postgres.

A team install needs the nocodb/nocodb Docker image, a Postgres database that holds both NocoDB's metadata and your tables, and an HTTPS address. On Ownkube the NocoDB template sets all of that up in one click, from about $10 a month.

The short version

  • NocoDB gives non-developers a spreadsheet interface and gives developers a REST API for every table.
  • The NocoDB template deploys the official image with a managed Postgres database, a volume for attachments and an ownkube.app hostname with automatic HTTPS.
  • The first account to sign up becomes the owner, so finish setup right after the deploy.
  • Your data sits in Postgres tables, so SQL, backups and other tools all work on it directly.

Why teams self-host a spreadsheet database

Hosted spreadsheet databases usually charge per seat and cap the records a base can hold. A team that searches for an Airtable alternative has often hit one of those limits, or wants the data in a database it can query and back up itself.

A self-hosted NocoDB install is priced by the box it runs on, whatever the team size, and the storage you give the database sets how many records it holds. Because the tables are real Postgres tables, a dashboard tool like Metabase or a script of your own can read them directly.

The fastest way: the NocoDB template

The NocoDB template on the Ownkube Marketplace creates a Postgres 18 database, deploys the official image, wires the connection string into DATABASE_URL and generates NC_AUTH_JWT_SECRET, which keeps everyone signed in across restarts. Uploaded attachments live on a persistent volume.

Deploy it and sign up on the hostname straight away, because the first account becomes the owner of the install.

The same install runs from okctl:

okctl regions list okctl boxes list --kind database okctl marketplace deploy nocodb --region <region-id> --db-box <box-id> 

The Marketplace sets up other self-hosted apps the same way. We have guides for DocuSeal, Open WebUI and Directus.

First setup

Create the owner account and a base

Sign up on the first visit, then create a base, NocoDB's word for a group of related tables. Invite teammates from the base's sharing settings and give each one a role, from viewer up to editor or creator.

Build tables

Add columns the way you would in a spreadsheet. Field types include text, numbers, dates, single and multi select, attachments, links to other tables, lookups, rollups and formulas. Every table can show up as a grid, a gallery, a form or a kanban board.

Forms let people outside the team add data. Share a form link and each submission becomes a row, and nobody filling it in needs a NocoDB account.

Move your data in

NocoDB imports CSV and Excel files into new tables, and it has an importer that copies a base over from Airtable. Run a test import first and check the linked records and attachments. Formulas and automations are the parts most likely to need rebuilding by hand.

If you're moving a team over, freeze edits in the old tool for the afternoon of the switch so nothing is written to two places.

Query your tables with SQL

Because NocoDB stores your rows in the managed Postgres database, you can read them with any Postgres client. Open a local tunnel with okctl:

okctl connect <database> --tunnel-only 

The command prints a local connection string that works with psql, a GUI client or a reporting tool. NocoDB names the underlying tables itself, so list them before you write queries.

Treat SQL as read-only and make changes through NocoDB or its API. NocoDB keeps its own metadata about columns and links, and editing the schema behind its back can leave that metadata out of step.

Use the API

Every table gets REST endpoints for listing, creating, updating and deleting rows. Create an API token in NocoDB's account settings and send it in the xc-token header. The built-in API docs show the exact paths for each table. This is how a small internal tool, an n8n workflow or a script writes rows without anyone opening the grid.

The manual path

Use the manual path to pin a different version or to see what the template set up.

  1. Create a database box on Ownkube. Boxes start at $4 a month, plus storage at $0.25 per GB per month.
  2. Create a web app from nocodb/nocodb with the version tag you want. The container listens on port 8080, and /api/v1/health makes a good readiness check.
  3. Attach a persistent volume at /usr/app/data for uploaded attachments.
  4. Set the variables:
DATABASE_URL=postgresql://<user>:<password>@<host>:5432/<database> NC_AUTH_JWT_SECRET=<a-long-random-string> 

Store the secret with okctl vars set <app> NC_AUTH_JWT_SECRET --secret. okctl prompts for the value, so it never lands in your shell history.

The docker compose equivalent

If you're comparing this with a NocoDB docker compose install on a VPS, here's the same setup as a compose file. The postgres service becomes the managed database box, the nocodb service becomes the web deployment, and the nc_data volume becomes the app's persistent volume. The ownkube.app hostname replaces the reverse proxy, the certificate and the DNS record.

services: postgres: image: postgres:17 environment: POSTGRES_DB: nocodb POSTGRES_USER: nocodb POSTGRES_PASSWORD: change-me volumes: - pgdata:/var/lib/postgresql/data nocodb: image: nocodb/nocodb:latest ports: - "8080:8080" environment: NC_DB: "pg://postgres:5432?u=nocodb&p=change-me&d=nocodb" NC_AUTH_JWT_SECRET: change-me-too volumes: - nc_data:/usr/app/data depends_on: - postgres volumes: pgdata: nc_data: 

NocoDB's own compose examples use the NC_DB format shown here. The template passes a standard postgresql:// URI in DATABASE_URL instead, which NocoDB also reads.

On a VPS the compose file leaves you to set up the reverse proxy, the certificate, Postgres backups, OS updates and restarts after a reboot. On Ownkube the hostname comes with its certificate and backups are a switch on the database. We run the servers underneath.

Sizing and cost

NocoDB is light. The template asks for 256 MiB of memory and allows up to 1 GiB. A team that works in it during the day fits metered pricing, billed per minute. For a flat price, a Spark 1 box at $5 a month covers a small team.

Add the smallest database box at $4 a month and 5 GB of storage at $1.25. That comes to about $10 a month for the whole team, whatever its size. As the tables grow, give the database more storage or a larger box before you touch the app, because the rows live in the database.

On the Personal and Team plans, turn on 7-day backups with point-in-time restore for the database. They're off by default.

If a client wants the install inside their own AWS account, the same app moves there with no rewrite, and logs, metrics and health checks come with it.

FAQ

Is NocoDB a good Airtable alternative?

For tables, views, forms, linked records and an API, yes. Airtable has a larger set of built-in automations and integrations. Teams that self-host NocoDB often pair it with a workflow tool like n8n to fill that gap.

Can NocoDB connect to a database I already have?

NocoDB can add an external database as a data source and show its tables in the same interface. Check NocoDB's docs for the current support in the self-hosted edition before you plan around it.

Who becomes the owner?

The first account to sign up. Finish setup right after the deploy.

Is NocoDB open source?

NocoDB publishes its source on GitHub under its own license. Read the license in the repository if you plan to offer it to clients as part of a paid service.

How do I update NocoDB?

Change the image tag on the deployment and redeploy. NocoDB migrates its metadata on start. Pin a version so an upgrade is a step you choose and can roll back.

Where Ownkube fits

NocoDB keeps every row in Postgres, so a backup of that database is a backup of your data. On Ownkube Compute that database is managed, and the app gets its volume and HTTPS from the first deploy. Deploy the template, sign up as the owner and import your first table. See Ownkube pricing for the per-minute wallet model, from $5 a month. Deploy my first app.