I run syncthing with docker in jailmaker and it works great with a few TB worth of files (big but also many small files). My jail uses bridge networking. Before that I ran syncthing on the host directly. It's only a single binary after all. And I started it using a systemd-run command with the same options as the official systemd service file for syncthing.
My compose file looks somewhat like this:
My compose file looks somewhat like this:
Code:
version: "3" services: syncthing: image: syncthing/syncthing:1.27.2 container_name: syncthing hostname: syncthing environment: - PUID=4000 - PGID=4000 - STGUIADDRESS=172.17.0.1:8384 volumes: - /mnt/syncthing/data:/var/syncthing healthcheck: disable: true network_mode: host restart: unless-stopped labels: - traefik.enable=true - traefik.http.routers.syncthing.tls=true - traefik.http.routers.syncthing.rule=Host(`syncthing.example.com`) - traefik.http.routers.syncthing.entrypoints=websecure - traefik.http.services.syncthing.loadbalancer.server.port=8384