What is it for?
Syncthing syncs folders between your computers, phones and server, directly from device to device. No account, no cloud: simple, light and very reliable.
Who is it for?
People who just want identical folders everywhere, without a bloated suite.
Good to know
Ports 22000 (TCP and UDP) must be open in the firewall to sync.
After installing
- First thing to do: in Actions → Settings → GUI, set a username and password.
- Then add your devices using their Syncthing ID.
The docker-compose
Example behind Traefik. To adapt it (Nginx Proxy Manager, local port…) with a line-by-line explanation, use the generator (in French).
# docker-compose.yml : Syncthing
services:
syncthing:
image: syncthing/syncthing:latest
container_name: syncthing
restart: unless-stopped
hostname: syncthing-serveur
environment:
PUID: "1000"
PGID: "1000"
TZ: Europe/Paris
volumes:
- ./data:/var/syncthing
ports:
- "22000:22000/tcp"
- "22000:22000/udp"
- "21027:21027/udp"
networks:
- traefik
labels:
- traefik.enable=true
- traefik.http.routers.syncthing.rule=Host(`sync.mydomain.com`)
- traefik.http.routers.syncthing.entrypoints=websecure
- traefik.http.routers.syncthing.tls.certresolver=letsencrypt
- traefik.http.services.syncthing.loadbalancer.server.port=8384
networks:
traefik:
external: true