How to Install RClone via Stack in Portainer
Found these instructions here.
version: "2.1" services: rclone_***: image: rclone/rclone container_name: rclone_*** command: sync --config /config/rclone_***.conf -v rclone_***:*** /***/*** --fast-list --drive-acknowledge-abuse environment: - PHP_TZ=Europe/Oslo - PUID=1000 - PGID=100 volumes: - /srv/***/BACKUP:/BACKUP - /srv/***/DOCKER/config/RCLONE/config:/config mem_limit: 300m
Some explanations provided:
- You would have to figure out the relevant rclone command for downloading.
- I mount a folder with my rclone configs. You can Google how to create these.
- I used one of my stacks as an examples, hence the stars.
- I set a mem_limit because my Odroid XU4 is limited to 2GB, and if I started all my rclone containers at once they would be killed when the system ran out of memory.