Sign inSign up

hareemca123/resilio-sync

By hareemca123

•Updated about 9 years ago

Alpine based image for resilio-sync

Image
0

196

hareemca123/resilio-sync repository overview

alt text

⁠Resilio Sync | Sync files across container volumes

** Environmental Variables**

⁠RSLSYNC_NAME

This will start a container with then name database

⁠RSLSYNC_TRASH

Default value is true, to disable this feature add -e RSLSYNC_TRASH=false

⁠RSLSYNC_TRASH_TIME

This variable defines how many days a file will be kept in the achive folder before it is removed. The variable is defined i days and the default value is 30 days. To change the time so achive files are saved 1 week add

-e RSLSYNC_TRASH_TIME=7

to the docker start command

⁠RSLSYNC_SIZE

This variable defines the maximum size of files to be synced. The variable is defined in MB and the default value is 1000 MB (1GB).

To change maxmimum file size to 50 MB add

-e RSLSYNC_SIZE=50

to the docker start command

⁠Docker container volume

All data stored in /data dir inside the container.

⁠RSLSYNC_USER

This variable defines the username used to login to the web interface

⁠RSLSYNC_PASS

This variable defines the user password needed to login to the web interface

⁠RSLSYNC_SECRET

This variable contains the secret key fore this directory, if empty or missing a new secret key is generated. This key can then be used to start more sync klient for the data. Very important that the user setups a secret key for resilio-sync

⁠Docker run command

First NODE docker run -d --name resilio1 --restart=always -v localdir:/data -p 80:8888 -p 33333:33333 -e RSLSYNC_USER=hareem -e RSLSYNC_PASS=kingkong -e RSLSYNC_SECRET=crazykeyz123 -e RSLSYNC_SIZE=1000 -e RSLSYNC_TRASH_TIME=7 -e RSLSYNC_TRASH=false -e RSLSYNC_NAME=sync hareemca123/resilio-sync:alpine

Tag summary

Content type

Image

Digest

Size

17.9 MB

Last updated

about 9 years ago

docker pull hareemca123/resilio-sync:alpine