Syncthing
Open source continuous file synchronization
Alternative to: dropbox, google drive, onedrive, resilio sync
Syncthing is a continuous file synchronization program that syncs files between two or more devices in real time. It has no central server: data is stored only on your own devices, and every connection is secured with TLS and authenticated with strong cryptographic certificates. It's managed entirely through a responsive browser-based web GUI and runs on Windows, macOS, Linux, and BSD.
Syncthing Docker Compose example
Self-host Syncthing on your own server, homelab, or VPS starting from this Docker Compose example.
It runs Syncthing in Docker containers using the official syncthing/syncthing:latest image, with persistent volumes and automatic restarts preconfigured.
Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.
services:
syncthing:
image: syncthing/syncthing:latest
restart: unless-stopped
environment:
# User ID the Syncthing process runs as (owns files on the data volume).
PUID: "1000"
# Group ID the Syncthing process runs as.
PGID: "1000"
# Address the web GUI listens on. Bound to all interfaces so it is reachable
# from the reverse proxy (upstream default binds to 127.0.0.1 only).
STGUIADDRESS: "0.0.0.0:8384"
volumes:
- data:/var/syncthing
volumes:
data: Prefer a managed setup? WinterFlow installs, configures, and updates Syncthing for you using this same Docker Compose configuration.