Introduction

Resilio Sync is a file synchronization software that uses peer-to-peer (P2P) technology to share and sync files across devices. It enables secure, fast, and efficient file transfers by leveraging the BitTorrent protocol. Resilio Sync allows users to create shared folders or “syncs,” which are encrypted and accessible only to devices with the unique access key. Key features include real-time updates, no file size limits, cross-platform compatibility, and the ability to sync files without relying on cloud storage providers, ensuring privacy and control over data. It is commonly used for personal backups, team collaboration, and large-scale file distribution.

compose.yml

services:
  resilio-sync:
    image: linuxserver/resilio-sync
    container_name: resilio-sync
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Manila
    volumes:
      - ./config:/config
      - ./downloads:/downloads
    ports:
#      - 8888:8888 # web GUI, to be proxied via caddy
      - 55555:55555
    restart: unless-stopped
    networks:
      - caddynetwork

networks:
  caddynetwork:
    external: true

Notes

  • Make sure to have already created the caddynetwork with docker network create caddynetwork
  • Container port 8888 is proxied via caddy
  • Change PUID, PGID, and TZ to what is applicable to your setup
  • The first time you spin up the container and access the site, you will be prompted to create your username and password

Caddyfile

sync.deuts.org {
  reverse_proxy resilio-sync:8888
}