All apps · 0 apps
binhex-rclone
Docker app from Binhex's Repository
Overview
Readme
View on GitHubApplication
Description
Rclone is a command line program to manage files on cloud storage. It is a feature rich alternative to cloud vendors' web storage interfaces. Over 40 cloud storage products support rclone including S3 object stores, business & consumer file storage services, as well as standard transfer protocols.
Rclone has powerful cloud equivalents to the unix commands rsync, cp, mv, mount, ls, ncdu, tree, rm, and cat. Rclone's familiar syntax includes shell pipeline support, and --dry-run protection. It is used at the command line, in scripts or via its API.
Users call rclone "The Swiss army knife of cloud storage", and "Technology indistinguishable from magic".
Build notes
Latest stable Rclone release from Arch Repository.
Usage
docker run -d \
-p 53682:53682 \
-p 5572:5572 \
--name=<container name> \
-v <path for media files>:/media \
-v <path for config files>:/config \
-v /etc/localtime:/etc/localtime:ro \
-e RCLONE_CONFIG_PATH=<path to rclone config file> \
-e RCLONE_MEDIA_SHARES=<media share names to copy|sync> \
-e RCLONE_REMOTE_NAME=<rclone remote name in config file> \
-e RCLONE_SLEEP_PERIOD=<period to sleep between rclone copy|sync> \
-e RCLONE_USER_FLAGS=<user defined rclone flags> \
-e RCLONE_OPERATION=copy|sync \
-e RCLONE_DIRECTION=localtoremote|remotetolocal|both \
-e RCLONE_POST_CHECK=yes|no \
-e
RCLONE_POST_REPORT=combined|differ|error|match|missing-on-dst|missing-on-src
\
-e ENABLE_WEBUI=yes|no \
-e WEBUI_USER=<rclone web ui username> \
-e WEBUI_PASS=<rclone web ui password> \
-e HEALTHCHECK_COMMAND=<command> \
-e HEALTHCHECK_ACTION=<action> \
-e HEALTHCHECK_HOSTNAME=<hostname> \
-e UMASK=<umask for created files> \
-e PUID=<uid for user> \
-e PGID=<gid for user> \
binhex/arch-rclone
Please replace all user variables in the above command defined by <> with the correct values.
Access application
Requires -e ENABLE_WEBUI=yes
http://<host ip>:5572
Example
docker run -d \
-p 53682:53682 \
-p 5572:5572 \
--name=binhex-rclone \
-v /media/movies:/media \
-v /apps/docker/radarr:/config \
-v /etc/localtime:/etc/localtime:ro \
-e RCLONE_CONFIG_PATH=/config/rclone/config/rclone.conf \
-e RCLONE_MEDIA_SHARES=/Media/Music,/Media/Pictures,/Media/Videos \
-e RCLONE_REMOTE_NAME=onedrive-business-encrypt \
-e RCLONE_SLEEP_PERIOD=24h \
-e RCLONE_USER_FLAGS='-- transfers 5' \
-e RCLONE_OPERATION=copy \
-e RCLONE_DIRECTION=localtoremote \
-e RCLONE_POST_CHECK=yes \
-e RCLONE_POST_REPORT=combined \
-e ENABLE_WEBUI=yes \
-e WEBUI_USER=admin \
-e WEBUI_PASS=rclone \
-e UMASK=000 \
-e PUID=0 \
-e PGID=0 \
binhex/arch-rclone
Notes
If your cloud storage provider requires a 'bucket' defining (for instance
Backblaze B2 does) then please specify this by appending :<bucket name> to
the value for RCLONE_REMOTE_NAME e.g. -e RCLONE_REMOTE_NAME=backblaze-encrypt:bucket
User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-
id <username>
If you appreciate my work, then please consider buying me a beer :D
Install binhex-rclone on Unraid in a few clicks.
Find binhex-rclone in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.
Categories
Download Statistics
Total Downloads Over Time
Related apps
Explore more like this
Explore allDetails
ghcr.io/binhex/arch-rcloneRuntime arguments
- Web UI
http://[IP]:[PORT:5572]- Network
bridge- Shell
bash- Privileged
- false
- Extra Params
--restart=unless-stopped
Template configuration
This is the Web UI port for the application.
- Target
- 5572
- Default
- 5572
This is the Rclone authorization port.
- Target
- 53682
- Default
- 53682
This is the container path to your configuration files, e.g. databases, configuration files, logs etc.
- Target
- /config
- Default
- /mnt/user/appdata/rclone
This is the container path to your media files, e.g. movies, tv, music, pictures etc.
- Target
- /media
- Default
- /mnt/user
Specify the file path to your preconfigured rclone configuration file.
- Target
- RCLONE_CONFIG_PATH
- Default
- /config/rclone/config/rclone.conf
Specify the media shares to process in rclone.
- Target
- RCLONE_MEDIA_SHARES
Specify the remote name as defined in the rclone configuration file.
- Target
- RCLONE_REMOTE_NAME
- Default
- remote
Specify the delay between re-runs of rclone.
- Target
- RCLONE_SLEEP_PERIOD
- Default
- 24h
Specify whether to copy new files or syncronise, syncronise may cause delete operation so use with caution.
- Target
- RCLONE_OPERATION
- Default
- copy|sync
Specify the direction to syncronise, local to remote, remote to local or two way sync.
- Target
- RCLONE_DIRECTION
- Default
- localtoremote|remotetolocal|both
Specify whether to enable the rclone Web UI.
- Target
- ENABLE_WEBUI
- Default
- yes|no
Specify the rclone Web UI username.
- Target
- WEBUI_USER
- Default
- admin
Specify the rclone Web UI password.
- Target
- WEBUI_PASS
Specify any additional user defined flags for rclone.
- Target
- RCLONE_USER_FLAGS
Specify whether to verify local and remote files match.
- Target
- RCLONE_POST_CHECK
- Default
- yes|no
Specify what post check level to report.
- Target
- RCLONE_POST_REPORT
- Default
- combined|differ|error|match|missing-on-dst|missing-on-src
Enable or disable healthchecks.
- Target
- ENABLE_HEALTHCHECK
- Default
- yes|no
The command or script to execute, if not specified then the script healthcheck.sh will be used (process, dns and https checking).
- Target
- HEALTHCHECK_COMMAND
The action to execute if the healthcheck command returns a non zero exit code, if not specified the action will be 'exit 1', if you want the container to exit on failure then set the action to 'kill 1'.
- Target
- HEALTHCHECK_ACTION
The hostname used when performing HTTPS and DNS healthchecking.
- Target
- HEALTHCHECK_HOSTNAME
- Default
- google.com
User ID for the running container
- Target
- PUID
- Default
- 99
Group ID for the running container
- Target
- PGID
- Default
- 100
UMASK for the running container
- Target
- UMASK
- Default
- 000
