rclone 安装与配置

安装

https://rclone.org/install/

https://askubuntu.com/questions/1357549/how-to-install-rclone-in-ubuntu-without-root

sudo apt install fuse3

docker 相关

https://rclone.org/docker/

version: '2'

services:
  bililive-go:
    image: chigusa/bililive-go
    ports:
      - "127.0.0.1:6338:8080"
    volumes:
      - live-videos:/srv/bililive
    restart: unless-stopped

# volumes:
#   live-videos:
#     driver: rclone
#     driver_opts:
#       remote: 'odrive:live-videos'
#       vfs_cache_mode: full
#       poll_interval: 0
volumes:
  live-videos:
    external: true
docker volume create live-videos -d rclone -o remote=odrive:live-videos

docker volume create vol1 -d rclone -o remote=odrive: -o vfs-cache-mode=full

最后修改于 2023-05-25