Install #
Docker #
My preferred method of running Syncthing is using Docker. Syncthing has their own official docker image at Syncthing Docker Hub. They also have detailed instructions for using Docker at Docker Instructions.
If using Docker Compose, then add this to your docker-compose.yml file.
syncthing:
image: syncthing/syncthing
container_name: syncthing
hostname: my-syncthing
environment:
- PUID=1000
- PGID=1000
volumes:
- /wherever/st-sync:/var/syncthing
ports:
- 8384:8384 # Web UI
- 22000:22000/tcp # TCP file transfers
- 22000:22000/udp # QUIC file transfers
- 21027:21027/udp # Receive local discovery broadcasts
restart: unless-stoppedmacOS #
Using Homebrew, installing Syncthing is made easy.
- Open /Applications/Utilities/Terminal.app
- Run the following command:
brew install syncthing
Linux #
Can be downloaded from Syncthing’s Download Page. Simply find your architeture, and run the package.