Sign inSign up

[Open Source] NocoDB: Turn a Database into Collaborative Spreadsheets

Open SourceOffice & Collaboration
2026-11-22 06:37 0 views • 0 downloads Docker · ~600 MB
[Open Source] NocoDB: Turn a Database into Collaborative Spreadsheets

Overview

NocoDB puts an Airtable-style interface on top of a relational database. You still see rows and columns, but the data can live in MySQL, PostgreSQL or SQLite, and the same records can be presented as a grid, kanban board, gallery, calendar or form. It also generates REST APIs automatically. For an owner, it is a fast way to build lightweight business trackers: customer follow-ups, equipment registers, event sign-ups and repair requests.

nocodb main interface screenshot

Why it fits a small business

Many processes only need a structured table with controlled access. In Excel that becomes files emailed back and forth; in NocoDB it is one shared online table with permissions and history. More importantly, it can connect to an existing database without migrating anything. A form view generates a public link for collecting customer details, while a kanban view turns status values into draggable columns so everyone sees progress at a glance. Row comments and mentions keep discussions beside the data instead of losing them in chat.

What you can do

  • Grid view with many field types, filtering, grouping, sorting and frozen columns
  • Kanban, gallery and calendar views that reinterpret the same records
  • Form views that produce shareable links for public submissions
  • Row detail pages with comments and mentions
  • Instant REST APIs for every table
  • Workspaces, teams and fine-grained permissions on projects and views
  • Import from Excel and CSV plus reverse connection to existing databases
  • Webhooks that trigger external actions when records change
nocodb feature screenshot

Stack and license

NocoDB is a Node.js application with a Vue frontend and runs as a single container. SQLite is the default for evaluation, while PostgreSQL or MySQL is recommended for production. Official images carry dated version tags that are safer than latest. The repository does not place a standard LICENSE file at its root, so GitHub reports NOASSERTION, but the published open-source licence is AGPL-3.0 and a commercial cloud edition is also offered. Self-hosting the open-source build is sufficient for internal use.

Deployment notes

The smallest deployment is one container on port 8080 with NC_DB pointing at the chosen database. If you keep SQLite, the directory containing the database file must be a persistent volume or all data disappears with the container. NC_AUTH_JWT_SECRET should be a fixed random value; changing it logs everyone out. NC_PUBLIC_URL should be the final domain so shared links and callbacks are correct. SQLite is fine for a single instance but locks under concurrency, and a proxy must allow WebSocket traffic or collaborative views will not refresh. Upload size is limited by both an environment variable and the proxy.

  • Data loss is almost always a missing volume for the default SQLite file.
  • Stale collaborative views mean the proxy is not forwarding WebSocket upgrades.
  • Failed form submissions usually trace to public-link permissions or upload size limits.
  • API 401 errors follow a changed JWT secret or an expired token.
nocodb reporting screenshot

Resource footprint

A single container with SQLite uses roughly 400 to 700 MB; with PostgreSQL and multiple users, 2 CPU / 4 GB is comfortable. The image is about 600 MB. NocoDB works well as a lightweight data front end: gather scattered records in one place, then connect them with APIs and webhooks at very low cost.

Before you deploy

Write down the few facts that will be used every day before creating containers: the people who need access, the names of the main business objects, and the one workflow that must work on launch day. Most failed self-hosting projects do not fail because the software is broken; they fail because master data is messy and nobody agreed on who owns each step. Prepare persistent volumes, a final domain name and a working SMTP account now, since all three are painful to retrofit after staff have started using the system. If the tool will be reachable from the internet, plan for HTTPS from the first hour rather than as a later improvement.

Data organisation

Start small and real. Import a handful of current records rather than a perfect but imaginary dataset, then walk one complete cycle from creation to report. Give fields short, familiar names and resist adding custom fields until somebody asks for the same filter twice. Define roles at the same time as data: an owner who can see everything, a small group that can edit, and everyone else with read-only or self-service access. Write the three or four rules that matter most into a one-page guide, because a short guide that people read is more useful than a long manual that nobody opens. Review the structure after a month and remove fields that nobody uses.

Backup, upgrades and security

Every system in this batch stores its real value in two places: the database and the uploaded files. Back up both on the same schedule, keep one copy away from the host, and perform a restore drill at least once a quarter. Before replacing an image, read the release notes, take a fresh backup and, where practical, rehearse the upgrade on a test instance. Use one account per person, disable accounts immediately when someone leaves, and keep the administrator login for administration rather than daily work. Check public links and API tokens periodically; forgotten shares are a common source of leaks. HTTPS, strong passwords and a short access review every quarter are enough to protect a small business without building a security programme.

Getting started

  1. Prepare persistent volumes, the database, the final HTTPS address and the pinned image tag.
  2. Start the stack and complete the first-run wizard or site creation step before inviting anyone.
  3. Enter a small set of real master data and run one complete workflow to the final report.
  4. Assign roles, configure email notifications and document the three steps people will use daily.
  5. Schedule backups, rehearse a restore and only then make the system the team's default place to work.

Pitfalls

  • Data loss is almost always a missing volume for the default SQLite file.
  • Stale collaborative views mean the proxy is not forwarding WebSocket upgrades.
  • Failed form submissions usually trace to public-link permissions or upload size limits.
  • API 401 errors follow a changed JWT secret or an expired token.

Who should use it

Teams that need quick trackers and forms: customer leads, asset registers, event registration and internal tasks. It is not a general ledger and should not be treated as a primary database engine. Position it as a friendly data front end over a reliable database.

A typical day

The pattern is similar across these tools. In the morning someone opens the system instead of a chat thread, because that is where the current state lives. Work is recorded once, at the moment it happens, and the record carries enough context for a colleague to continue. During the day, filters and views answer the small questions that used to interrupt other people: what is waiting, what is overdue, and who owns the next step. At the end of the day or week, a report is generated from the same records rather than rebuilt by hand. That is the practical return on self-hosting: fewer repeated questions, fewer conflicting versions of the truth, and data that remains yours.

Links

Source repository | Container image | Official documentation

Deployment serviceVerified deployable

Having trouble setting up this project?

We have run “[Open Source] NocoDB: Turn a Database into Collaborative Spreadsheets” locally and verified that it installs and the admin panel works. We can deploy it to your server.

Starting at
from $149
Estimated time
48 hours
Deployment notes
Compose 编排、数据库连接与管理员、JWT 密钥、视图与权限配置、HTTPS 反代 / Compose stack, DB connection and admin, JWT secret, views and permissions, HTTPS proxy
Service details →

WeChat: ITcloub · Bring your own server and domain · Full refund if deployment fails