Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it’s transmitted over the Internet. In this step by step guide I will show you how to install Syncthing on your Synology NAS using Portainer.
Install Docker via Synology “Package Center”.
Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP.
Go to File Station and open the docker folder. Inside the docker folder, create 3 new folders and name it syncthing, data1, data2. Follow the instructions in the image below.
Note: Be careful enter only lowercase, not uppercase letters.
Now create one new folder inside the syncthing folder that you created at STEP 4 and name it config. Follow the instructions in the image below.
Log into Portainer using your username and password. On the Portainer left sidebar click on Stacks. After you click on Stacks, a new screen will open. Click + Add Stack. In the Name field type in syncthing. Follow the instructions in the image below.
version: "2.1" services: syncthing: image: ghcr.io/linuxserver/syncthing container_name: syncthing hostname: syncthing #optional volumes: - /volume1/docker/syncthing/config:/config - /volume1/docker/data1:/data1 - /volume1/docker/data2:/data2 ports: - 8384:8384 - 22000:22000 - 21027:21027/udp environment: - PUID=1026 - PGID=100 - TZ=Europe/Bucharest restart: always
After you paste the code in the Web editor, change the value for TZ (Select your current Time Zone from this list).
After you paste the code in the Web editor, change the value numbers for PUID and PGID with your own values. (Follow my step by step guide on how to do this.)
Note: If you have your docker folder in a different volume, then change /volume1/docker/syncthing/config according to your settings. For example: /volume2/docker/syncthing/config or /volume3/docker/syncthing/config etc.
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.
If everything goes right, you will see this message at the top right of your screen: “Stack successfully deployed“.
Go back to STEP 1 or you will deal with karma 🙂.
Now open your browser and type in http://Synology-ip-address:8384/ Follow the instructions in the image below.
Note: Once you logged in for the first time, remember to add a GUI Authentication User and Password.
Enjoy your Syncthing!
This post was updated on Monday / February 1st, 2021 at 10:33 PM