In this segment, we are going to show you “How to Install Syncthing on OpenMediaVault 5 using Raspberry Pi 4 | 2021“
What is Syncthing?
Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real-time, safely protected from prying eyes. Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it’s transmitted over the internet. |
Credits
Full credit goes to the Linux server.
- Image URL: linuxserver/syncthing
OpenMediaVault Versions :
OpenMediaVault 5 Installation Guide :
https://pcmac.biz/openmediavault-5-on-raspberry-pi/Software Required :
Equipment Required | Optional | ||
Raspberry Pi 4 | Case | ||
SD Card | Raspberry Pi Keyboard | ||
Ethernet Cable | Mouse | ||
Power Adapter | |||
External HDD | |||
Shop now |
We may earn a commission for purchases using our links. Learn more.
Docker Compose
--- version: "2.1" services: syncthing: image: ghcr.io/linuxserver/syncthing container_name: syncthing hostname: syncthing #optional environment: - PUID=1000 - PGID=1000 - TZ=Europe/London volumes: - /path/to/appdata/config:/config - /path/to/data1:/data1 - /path/to/data2:/data2 ports: - 8384:8384 - 22000:22000/tcp - 22000:22000/udp - 21027:21027/udp sysctls: - net.core.rmem_max=2097152 restart: unless-stopped
Docker CLI
docker run -d \ --name=syncthing \ --hostname=syncthing `#optional` \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Europe/London \ -p 8384:8384 \ -p 22000:22000/tcp \ -p 22000:22000/udp \ -p 21027:21027/udp \ -v /path/to/appdata/config:/config \ -v /path/to/data1:/data1 \ -v /path/to/data2:/data2 \ --restart unless-stopped \ ghcr.io/linuxserver/syncthing
How to find PUID & PGID
- However, to find PUID and PGID we can use the below-given command.
id name of the user UID : "PUID" GID : "PGID"
Syncthing Container Configuration
-
Create New Container
-
Volume
-
Env
-
Restart Policy
- First, we need to navigate to Containers and then click on Add container.
- Secondly, fill the details as mentioned below in the picture, Choose a name for your container and image name as linuxserver/Syncthing
- Always pull the image option must be checked, if the image is not already downloaded.
-
Create New Container
-
Volume
-
Env
-
Restart Policy
- First, we need to navigate to Containers and then click on Add container.
- Secondly, fill the details as mentioned below in the picture, Choose a name for your container and image name as linuxserver/Syncthing
- Always pull the image option must be checked, if the image is not already downloaded.
Access Syncthing Web Interface
- To access the Syncthing web interface we need to type the OpenMediaVault IP Address:8384
- After that follow the video instructions to configure sync between two or more devices.
In conclusion
- Above all steps will convert your Raspberry Pi 4 as Syncthing on OpenMediaVault 5 with the help of Docker.
- If you face any issue regarding this article please share your thoughts.
- Enjoy using Syncthing on Docker using Openmediavault. Smile (.”_”.)
Please check out my other articles:
- How to install OpenMediaVault 5 on Raspberry Pi All Models
- OpenMediaVault 5 NAS Server on Raspberry Pi 4
Did you find us helpful?
Subscribe to our YouTube Channel | |
Support us on Patreon | |
Like us on Facebook | |
Share This Article with others |