How to Install Plane on Your Synology NAS

How to Install Plane on Your Synology NAS

Plane is an open-source software development tool to manage issues, sprints, and product roadmaps with peace of mind. It allows users to start with a basic task tracking tool and gradually adopt various project management frameworks like Agile, Waterfall, and many more. In this step by step guide I will show you how to install Plane on your Synology NAS using Docker & Portainer.

💡Note: This guide works perfectly with the latest Plane v0.18 release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

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 3

Make sure you have a synology.me Wildcard Certificate. Follow my guide to get a Wildcard Certificate. If you already have a synology.me Wildcard certificate, skip this STEP.

  • STEP 4

Go to Control Panel / Login Portal / Advanced Tab / click Reverse Proxy. Follow the instructions in the image below.

Plane Synology NAS Set up 1

  • STEP 5

Now click the “Create” button. Follow the instructions in the image below.

Plane Synology NAS Set up 2

  • STEP 6

After you click the Create button, the window below will open. Follow the instructions in the image below.

On the General area, set the Reverse Proxy Name description: type in Plane. After that, add the following instructions:

Source:
Protocol: HTTPS
Hostname: plane.yourname.synology.me
Port: 443

Check Enable HSTS

Destination:
Protocol: HTTP
Hostname: localhost
Port: 3356

Plane Synology NAS Set up 3

  • STEP 7

On the Reverse Proxy Rules click the Custom Header tab. Click Create and then, from the drop-down menu, click WebSocket. After you click on WebSocket, two Header Names and two Values will be automatically added. Click Save. Follow the instructions in the image below.

Synology Proxy WebSocket

  • STEP 8

Go to Control Panel / Network / Connectivity tab/ Check Enable HTTP/2 then click Apply. Follow the instructions in the image below.

Plane Synology NAS Set up 4

  • STEP 9

Go to Control Panel / Security / Advanced tab/ Check Enable HTTP Compression then click Apply. Follow the instructions in the image below.

Plane Synology NAS Set up 5

  • STEP 10

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

Plane Synology NAS Set up 6

  • STEP 11

Now create three new folders inside the plane folder that you created at STEP 10 and name them db, redis, uploads. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Plane Synology NAS Set up 7

  • STEP 12

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 13

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

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

version: "3.9"
services:
  redis:
    image: redis:7
    container_name: Plane-REDIS
    hostname: plane-redis
    mem_limit: 256m
    mem_reservation: 50m
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    read_only: true
    user: 1026:100
    healthcheck:
      test: ["CMD-SHELL", "redis-cli ping || exit 1"]
    volumes:
      - /volume1/docker/plane/redis:/data:rw
    environment:
      TZ: Europe/Bucharest
    restart: on-failure:5

  db:
    image: postgres:16
    command: postgres -c 'max_connections=1000'
    container_name: Plane-DB
    hostname: plane-db
    mem_limit: 1g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: ["CMD", "pg_isready", "-q", "-d", "plane", "-U", "planeuser"]
      timeout: 45s
      interval: 10s
      retries: 10
    volumes:
      - /volume1/docker/plane/db:/var/lib/postgresql/data:rw
    environment:
      POSTGRES_DB: plane
      POSTGRES_USER: planeuser
      POSTGRES_PASSWORD: planepass
    restart: on-failure:5

  minio:
    image: minio/minio:latest
    command: server /export --console-address ":9090"
    container_name: Plane-MINIO
    hostname: plane-minio
    mem_limit: 6g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    user: 1026:100
    healthcheck:
      test: ["CMD", "mc", "ready", "local"]
      interval: 5s
      timeout: 5s
      retries: 5
    volumes:
      - /volume1/docker/plane/uploads:/export:rw
    environment:
      MINIO_ROOT_USER: ${AWS_ACCESS_KEY_ID}
      MINIO_ROOT_PASSWORD: ${AWS_SECRET_ACCESS_KEY}
    restart: on-failure:5

  back:
    image: makeplane/plane-backend:latest
    command: ./bin/takeoff
    container_name: Plane-BACK
    hostname: api
    mem_limit: 6g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    user: 1026:100
    healthcheck:
      test: wget --no-verbose --tries=1 --spider http://api:8000
    env_file:
      - stack.env
    restart: on-failure:5
    depends_on:
      redis:
        condition: service_healthy
      db:
        condition: service_healthy

  worker:
    image: makeplane/plane-backend:latest
    command: ./bin/worker
    container_name: Plane-WORKER
    hostname: worker
    mem_limit: 6g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    user: 1026:100
    env_file:
      - stack.env
    restart: on-failure:5
    depends_on:
      redis:
        condition: service_healthy
      db:
        condition: service_healthy
      back:
        condition: service_healthy

  beat:
    image: makeplane/plane-backend:latest
    command: ./bin/beat
    container_name: Plane-BEAT
    hostname: beat-worker
    mem_limit: 6g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    user: 1026:100
    env_file:
      - stack.env
    restart: on-failure:5
    depends_on:
      redis:
        condition: service_healthy
      db:
        condition: service_healthy
      back:
        condition: service_healthy

  migrator:
    image: makeplane/plane-backend:latest
    container_name: Plane-MIGRATOR
    restart: no
    env_file:
      - stack.env
    command: >
        sh -c "python manage.py wait_for_db &&
             python manage.py migrate"
    depends_on:
      db:
       condition: service_healthy
      redis:
       condition: service_healthy
  front:
    image: makeplane/plane-frontend:latest
    command: /usr/local/bin/start.sh web/server.js web
    container_name: Plane-FRONT
    hostname: web
    mem_limit: 6g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    user: 1026:100
    healthcheck:
      test: wget --no-verbose --tries=1 --spider http://web:3000
    env_file:
      - stack.env
    restart: on-failure:5
    depends_on:      
      back:
        condition: service_healthy
      worker:
        condition: service_started

  space:
    image: makeplane/plane-space:latest
    command: /usr/local/bin/start.sh space/server.js space
    container_name: Plane-SPACE
    hostname: plane-space
    mem_limit: 2g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    user: 1026:100
    env_file:
      - stack.env
    restart: on-failure:5
    depends_on:      
      back:
        condition: service_healthy
      worker:
        condition: service_started
      front:
        condition: service_healthy

  proxy:
    image: makeplane/plane-proxy:latest
    container_name: Plane-PROXY
    hostname: planeproxy
    mem_limit: 1g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    ports:
      - 3356:80
    env_file:
      - stack.env
    environment:
      FILE_SIZE_LIMIT: ${FILE_SIZE_LIMIT}
      BUCKET_NAME: ${AWS_S3_BUCKET_NAME}
    depends_on:      
      back:
        condition: service_started
      front:
        condition: service_healthy
      space:
        condition: service_started

Note: Before you paste the code above in the Web editor area below, change the value numbers for user with your own UID and GID values. (Follow my step by step guide on how to do this.) 1026 is my personal UID value and 100 is my personal GID value. You have to type in your own values.
Note: Before you paste the code above in the Web editor area below, change the value for TZ. (Select your current Time Zone from this list.)

1 Plane Synology NAS new set up 2025

  • STEP 14

Click the Upload button after Web editor. Download the stack.env file by clicking the blue link below and then upload it from your computer in the “Load variables from .env files“. Follow the instructions in the image below. 🔒Note: Support my work to unlock the password. You can use this password to download any file on mariushosting forever!

👉🏻Download stack.env file

Plane Synology NAS Set up 9

  • STEP 15

Note: On the Environment variables change the value for WEB_URL. Type in your own synology.me DDNS that you have previously created at STEP 6 with https at the beginning. 🟢
Note: On the Environment variables change the value for CORS_ALLOWED_ORIGINS. Type in your own synology.me DDNS that you have previously created at STEP 6 with https at the beginning. 🟢 ⚠️Warning: Do not change any of the other values. All the values should be inside ” “.

2 Plane Synology NAS new set up 2024

  • STEP 16

After you made the changes, click the Web editor button. Follow the instructions in the image below.

3 Plane Synology NAS new set up 2025

  • STEP 17

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.

4 Plane Synology NAS new set up 2024

⌛Now just wait because the Plane image is about 2GB.

  • STEP 18

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

Plane Synology NAS Set up 13

  • STEP 19

Your Plane-MIGRATOR container will be marked as exited. You don’t have to do anything. Go straight to STEP 20.

Plane MakePlane Migrator Synology NAS

  • STEP 20

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

  • STEP 21

Now open your browser and type in your HTTPS/SSL certificate like this https://plane.yourname.synology.me/god-mode – In my case it’s https://plane.mariushosting.synology.me/god-mode If everything goes right, you will see the Plane Admin page. Type in your own Email Address and Password. Click Sign In. Follow the instructions in the image below. Note: Don’t forget to add /god-mode at the end of your synology.me DDNS.

5 Plane Synology NAS new set up 2024

  • STEP 22

Click Go to God Mode. Follow the instructions in the image below.

6 Plane Synology NAS new set up 2024

  • STEP 23

In this section you can set up your SMTP email and other details. Follow the instructions on how to set up email notifications on Plane.

7 Plane Synology NAS new set up 2024

  • STEP 24

Now open your browser and type in your HTTPS/SSL certificate like this https://plane.yourname.synology.me – In my case it’s https://plane.mariushosting.synology.me Type in your workspace name then click Make it live. Follow the instructions in the image below.

8 Plane Synology NAS new set up 2024

  • STEP 25

Type in your own Name, then choose one option from the list. Click Continue. Follow the instructions in the image below.

9 Plane Synology NAS new set up 2024

  • STEP 26

Invite your team to work with you. Click Do this later to set it up later. Follow the instructions in the image below.

10 Plane Synology NAS new set up 2024

  • STEP 27

Close the pop-up window. Follow the instructions in the image below.

11 Plane Synology NAS new set up 2024

  • STEP 28

Your Plane dashboard at a glance!

12 Plane Synology NAS new set up 2024

  • STEP 29

At the top left of the page click on your Profile icon then Settings. Follow the instructions in the image below.

13 Plane Synology NAS new set up 2024

  • STEP 30

On the left sidebar click Preferences, then change your theme to Dark from the dropdown menu. Follow the instructions in the image below.

14 Plane Synology NAS new set up 2024

Enjoy Plane!

🆘TROUBLESHOOTING

If you encounter issues by using this container, make sure to check out the Common Docker issues article.

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: Find out how to update the Plane 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.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.

This post was updated on Sunday / April 21st, 2024 at 3:07 PM