Syncthing is an application that lets you synchronize your files across multiple devices.
Image uses default port numbers.
Example commands are executed under the root user. Change it if you need it.
Run docker compose configuration provided in repo or run image with same parameters:
git clone https://github.com/kavolorn/Docker-Syncthing
cd Docker-Syncthing
docker-compose up -d
First run will create /root/Syncthing directory with Syncthing configuration. If directory exists container will use it.
Use your machine IP address to configure Syncthing via http://:8384/.
Copy systemd service configuration and enable it (for automatic Syncthing load on system restart):
cp syncthing.service /etc/systemd/system/
systemctl enable syncthing.service
Now you are able to start container in systemd:
docker-compose stop
systemctl start syncthing.service