Sign inSign up

traumfewo/docker-rclone

By traumfewo

•Updated over 7 years ago

Run rclone sync periodically in docker

Image
0

3.8K

traumfewo/docker-rclone repository overview

⁠Run rclone sync periodically in docker

Dockerized version of rclone⁠ used to run one-time and/or periodic sync's.

Docker Pulls

⁠Usage

Use the image as if you would run rclone sync direcly and it will re-run your rclone command every 5 minutes, use the environment variable SYNC_INTERVAL_SECONDS to modify the intervall or set it to 0 to make rclone run only once.

For example:

docker run -e SYNC_INTERVAL_SECONDS=10 \
  -v /gcs-serviceaccount.json:/gcs-serviceaccount.json:ro \
  -v /tmp/foo/:/tmp/foo/ \
  --name rclone \
  traumfewo/docker-rclone \
  --gcs-service-account-file /gcs-serviceaccount.json sync :gcs:BUCKET-NAME/BUCKET-DIR/ /tmp/foo/

Tag summary

Content type

Image

Digest

Size

13.2 MB

Last updated

over 7 years ago

docker pull traumfewo/docker-rclone