How to Install NocoDB on Your Synology NAS

How to Install NocoDB on Your Synology NAS

NocoDB is an open source #NoCode platform that turns any MySQL, PostgreSQL, SQL Server, SQLite & MariaDB into a smart-spreadsheet. NocoDB is so flexible that it can be integrated with many business verticals. NocoDB has been downloaded more than 6.6 million times in Docker within the first year of launch alone. In this step by step guide I will show you how to install NocoDB on your Synology NAS using Docker.

Note: This guide works perfectly with the latest NocoDB 0.100.2 release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

Install Docker Synology DSM 7

  • STEP 3

Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.

  • STEP 4

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it nocodb. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

NocoDB Synology NAS Set up 1

  • STEP 5

Log into Portainer using your username and password. On the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.

1 Synology Portainer Add Stack

  • STEP 6

In the Name field type in nocodb. Follow the instructions in the image below.

Note: Copy Paste the code below in the Portainer Stacks Web editor.

version: '3'
services:
  nocodb-db:
    image: mariadb
    container_name: nocodb-db
    restart: always
    volumes:
    - /volume1/docker/nocodb:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=nocodb
      - MYSQL_DATABASE=nocodb
  nocodb:
    image: nocodb/nocodb
    container_name: nocodb
    restart: always
    depends_on:
    - nocodb-db
    ports:
      - 8631:8080
      - 8632:8081
      - 8633:8082
      - 8634:8084
    environment:
      - NC_DB:mysql2://nocodb-db:3306?u=root&p=nocodb&d=nocodb-db

1 NocoDB Synology NAS Set up

  • STEP 7

Scroll down on the page until you see a button named Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.

2 NocoDB Synology NAS Set up

  • STEP 8

If everything goes right, you will see this message at the top right of your screen: “Success Stack successfully deployed“.

3 NocoDB Synology NAS Set up

  • STEP 9

Go back to STEP 1 or you will deal with karma 🙂.

  • STEP 10

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:8631 Let’s create the Super Admin! Add your own Email and password then click SIGN UP. Follow the instructions in the image below.

4 NocoDB Synology NAS Set up

  • STEP 11

Now you can create your New Project! From the dropdown menu choose Create Project. Follow the instructions in the image below.

5 NocoDB Synology NAS Set up

  • STEP 12

Give a name to your Project then then click Create. Follow the instructions in the image below.

6 NocoDB Synology NAS Set up

Enjoy NocoDB!

7 NocoDB Synology NAS Set up

  • STEP 13

If you want to run the NocoDB container over HTTPS, check out my guide on how How to Run Docker Containers Over HTTPS and remember to add Web Socket in Reverse Proxy.

Synology Docker Reverse Proxy WebSocket

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Full NocoDB Environment Variables.
Note: Find out how to update the NocoDB container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.

This post was updated on Monday / December 5th, 2022 at 10:05 AM