1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 17:51:24 +00:00
dockerfiles/rslsync/README.md

52 lines
929 B
Markdown
Raw Normal View History

2016-09-19 06:27:44 +00:00
rslsync
=======
[Resilio Sync][1] is a fast, simple, and secure file syncing for IT and individuals.
2016-09-20 04:14:29 +00:00
## docker-compose.yml
```yaml
rslsync:
image: vimagick/rslsync
ports:
- "8888:8888"
- "55555:55555"
volumes:
- ./data:/data
2016-09-20 11:14:12 +00:00
- ./rslsync.json:/etc/rslsync.json
2016-09-20 04:14:29 +00:00
restart: always
```
2016-09-20 11:14:12 +00:00
## rslsync.json
2016-09-20 04:14:29 +00:00
```json
{
2016-09-20 11:14:12 +00:00
"device_name": "Resilio Sync Server",
2016-09-20 04:14:29 +00:00
"listening_port": 55555,
2016-09-20 11:14:12 +00:00
"storage_path": "/data/system",
2016-09-20 04:14:29 +00:00
"pid_file": "/var/run/rslsync.pid",
"use_upnp": false,
"download_limit": 0,
"upload_limit": 0,
2016-09-20 11:14:12 +00:00
"directory_root": "/data/user",
2016-09-20 04:14:29 +00:00
"directory_root_policy": "all",
"webui": {
2016-09-20 11:14:12 +00:00
"listen": "0.0.0.0:8888",
"login": "admin",
"password": "admin"
2016-09-20 04:14:29 +00:00
}
}
```
2016-09-20 11:14:12 +00:00
> Please change the default login/password.
2016-09-20 04:14:29 +00:00
## up and running
```bash
2016-09-20 11:14:12 +00:00
$ docker-compose run --rm rslsync rslsync --dump-sample-config > rslsync.json
$ vi rslsync.json
2016-09-20 04:14:29 +00:00
$ docker-compose up -d
```
2016-09-19 06:27:44 +00:00
[1]: https://getsync.com/