docker
sudo usermod -aG docker $USER DATA_FOLDER=~/sync WEBUI_PORT=5725 mkdir -p $DATA_FOLDER docker run -d --name resilio --restart=always \ -p 127.0.0.1:$WEBUI_PORT:8888 \ -p 55555 \ -v $DATA_FOLDER:/mnt/sync \ -v ~/.ssh:/mnt/sync/folders/.ssh \ --restart on-failure \ resilio/sync echo "node_modules" >> ~/sync/folders/Projects/.sync/IgnoreList
docker-compose
version: '3' volumes: sync_storage: external: true services: resilio_sync: image: resilio/sync restart: always ports: - 8888:8888 - 55555:55555/tcp - 55555:55555/udp volumes: - sync_storage:/mnt/sync/storage # Sync storage folder - ./sync.conf:/mnt/sync/sync.conf # Configuration file - $SYNC_DATA:/mnt/sync/data # folder with data to be shared
폴더 전부 read write 로 등록하고
symlink로 ~/.ssh
ignore list 추가
Docker Hub
https://hub.docker.com/r/resilio/sync/
Installing Sync package on Linux
This guide implies understanding of how Linux package manager, running processes and startup work. Upgrade from BitTorrent Sync If you have btsync package installed and running, stop it before installing resilio-sync. All settings from btsync will be moved to resilio-sync.
https://help.resilio.com/hc/en-us/articles/206178924-Installing-Sync-package-on-Linux

How to Install Resilio Sync on Ubuntu 16.04 and Ubuntu 16.10 - LinuxBabe
Resilio Sync, formerly known as BitTorrent Sync, is a free, fast, peer-to-peer file sharing and syncing tool released by Resilio, Inc. It's available for Linux, Mac, FreeBSD, Windows, Android, iOS and NAS devices. The latest stable version was 2.4.4, released on December 9, 2016.
https://www.linuxbabe.com/ubuntu/install-resilio-sync-ubuntu-16-04-16-10


