Syncthing
Cloud Storage & FilesSync folders between your own devices, no cloud in the middle.
Syncthing keeps folders in sync between your own devices, directly from one to another, with no cloud server in the middle. Every device holds a full copy, changes are picked up within seconds, and transfers are encrypted. It runs on Linux, Windows, macOS and Android, uses very little memory, and has a web interface for adding devices and folders. With file versioning turned on, overwritten and deleted files are kept for a while instead of disappearing everywhere at once.
What Syncthing is good for
- Keep a documents or notes folder identical on a laptop, a desktop and the homelab server.
- Copy phone photos to the server automatically when the phone is on Wi-Fi.
- Feed a server folder that another app reads, such as a Paperless-ngx consume folder or a music library.
- An always-on copy in the homelab that receives changes from every device, with versioning as a safety net.
Before you deploy
- Sync is not a backup: a deleted or corrupted file is deleted or corrupted on every device. Turn on file versioning, and keep a real backup as well.
- The web UI listens on 127.0.0.1 only by default. If you open it to the LAN, set a GUI user and password first.
- Every device stores a full copy of each shared folder, so plan disk space on all of them.
- Do not run it as a Linux user called sync on Debian: that name already exists as a system user with /bin as its home, and the service fails to start.
- Large files are hashed on the CPU. On one core of an old CPU we saw about 18 MB/s, well below what the network could carry.
Compatibility
Proof of Work Gallery
- Dashboard
- Restore versions
- File versioning settings
Deployment
# Official image. We installed Syncthing natively (apt) in our LXC containers,
# so this Docker variant is untested by us.
# Web UI on http://<host>:8384 - set a GUI user and password on first login.
services:
syncthing:
image: syncthing/syncthing:latest
container_name: syncthing
hostname: homelab-sync
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
volumes:
- ./syncthing:/var/syncthing
ports:
- "8384:8384" # web UI
- "22000:22000/tcp" # sync
- "22000:22000/udp" # sync (QUIC)
- "21027:21027/udp" # local discovery
Alternative to
Dropbox, Google Drive sync, Resilio Sync
Guides featuring Syncthing
Related apps
Get new apps and guides by email
One short email when we test a new app or publish a guide. No spam, unsubscribe any time.