version: "2.1" services: resilio-sync: image: lscr.io/linuxserver/resilio-sync:latest container_name: resilio-sync environment: - PUID=1000 - PGID=1000 - TZ=Asia/Irkutsk volumes: - backup:/sync/backup - photo:/sync/photo - /opt/sync/config:/config - /opt/sync/data:/sync ports: - 8888:8888 - 55555:55555 restart: unless-stopped volumes: backup: external: true photo: external: true networks: default: name: sync