1
0
Fork 0
mirror of synced 2024-05-17 02:43:16 +12:00

Update docker-compose.yml to add rclone remote storage example

This commit is contained in:
Nick Sweeting 2024-04-09 18:38:29 -07:00 committed by GitHub
parent 9d4cc361e6
commit 9ad99d86c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -173,3 +173,24 @@ networks:
driver: default
config:
- subnet: 172.20.0.0/24
# To use remote storage for your ./data/archive (e.g. Amazon S3, Backblaze B2, Google Drive, OneDrive, SFTP, etc.)
# Follow the steps here to set up the Docker RClone Plugin https://rclone.org/docker/
# $ docker plugin install rclone/docker-volume-rclone:amd64 --grant-all-permissions --alias rclone
# $ nano /var/lib/docker-plugins/rclone/config/rclone.conf
# [examplegdrive]
# type = drive
# scope = drive
# drive_id = 1234567...
# root_folder_id = 0Abcd...
# token = {"access_token":...}
# volumes:
# archive:
# driver: rclone
# driver_opts:
# remote: 'examplegdrive:archivebox'
# allow_other: 'true'
# vfs_cache_mode: full
# poll_interval: 0