How to Install RClone via Stack in Portainer

Found these instructions here.

version: "2.1"
    image: rclone/rclone
    container_name: rclone_***
    command: sync --config /config/rclone_***.conf -v rclone_***:*** /***/*** --fast-list --drive-acknowledge-abuse
      - PHP_TZ=Europe/Oslo
      - PUID=1000
      - PGID=100
      - /srv/***/BACKUP:/BACKUP
      - /srv/***/DOCKER/config/RCLONE/config:/config

    mem_limit: 300m

Some explanations provided:

  1. You would have to figure out the relevant rclone command for downloading.
  2. I mount a folder with my rclone configs. You can Google how to create these.
  3. I used one of my stacks as an examples, hence the stars.
  4. 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.

note/homelab-projects/install-rclone-stack-portainer.txt · Last modified: 02/09/22 7:31 am by Jotter