1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/rslsync
2016-09-20 12:18:01 +08:00
..
docker-compose.yml update rslsync 2016-09-20 12:18:01 +08:00
Dockerfile update rslsync 2016-09-20 12:18:01 +08:00
README.md update rslsync 2016-09-20 12:18:01 +08:00
rslsync.conf update rslsync 2016-09-20 12:18:01 +08:00
rslsync.service update rslsync 2016-09-20 12:18:01 +08:00

rslsync

Resilio Sync is a fast, simple, and secure file syncing for IT and individuals.

docker-compose.yml

rslsync:
  image: vimagick/rslsync
  ports:
    - "8888:8888"
    - "55555:55555"
  volumes:
    - ./data:/data
    - ./rslsync.conf:/etc/rslsync.conf
  restart: always

rslsync.conf

{
  "device_name": "My Sync Device",
  "listening_port": 55555,
  "storage_path": "/data/.syncsystem",
  "pid_file": "/var/run/rslsync.pid",
  "use_upnp": false,
  "download_limit": 0,
  "upload_limit": 0,
  "directory_root": "/data/syncaod",
  "directory_root_policy": "all",
  "webui": {
    "listen": "0.0.0.0:8888"
  }
}

up and running

$ docker-compose run --rm rslsync --dump-sample-config > rslsync.conf
$ docker-compose up -d