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. 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.84.3 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.

  • 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.

NocoDB Synology NAS Set up 2

  • 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"

NocoDB Synology NAS Set up 3

  • 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.

NocoDB Synology NAS Set up 4

  • STEP 8

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

NocoDB Synology NAS Set up 5

  • 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 You will be greeted by a succession of welcome messages.

NocoDB Synology NAS Set up 6

  • STEP 11

After a couple of welcome messages, you will get to the page shown below. Click on Let’s Begin. Follow the instructions in the image below.

NocoDB Synology NAS Set up 7

  • STEP 12

Let’s create the Super Admin! Add your email and password then click SIGN UP. Follow the instructions in the image below.

NocoDB Synology NAS Set up 8

  • STEP 13

Now you can create your New Project! Follow the instructions in the image below.

NocoDB Synology NAS Set up 9

  • STEP 14

Give a name to your Project then select Access Project via REST APIs or GRAPHQL APIs then click Create. Follow the instructions in the image below.

NocoDB Synology NAS Set up 10

  • STEP 15

Enjoy NocoDB!

NocoDB Synology NAS Set up 11

  • STEP 16

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: 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.

This post was updated on Sunday / January 16th, 2022 at 12:20 PM