Resilio Sync Docker


### docker
```type*sudo usermod -aG docker $USER*DATA_FOLDER=~/sync~~W~~EBUI_PORT=5725**m**kdir -p $DATA_FOLDERdocker 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/syncecho "node_modules" >> ~/sync/folders/Projects/.sync/IgnoreList```

### docker-compose
```typeversion: '3'volumes:  sync_storage:    external: trueservices:  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](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](https://www.linuxbabe.com/ubuntu/install-resilio-sync-ubuntu-16-04-16-10)





