ep1cman / unifi-protect-backup

Python tool to backup unifi event clips in realtime
MIT License
576 stars 25 forks source link

Trouble with rclone.conf path #131

Closed brephil closed 4 months ago

brephil commented 4 months ago

Description

testing rclone config via docker. I have rclone stored locally under /root/.config/rclone/rclone.conf

when running: docker run \ --rm \ -v '/path/to/rclone.conf':'/root/.config/rclone/rclone.conf' \ -e RCLONE_CONFIG='/root/.config/rclone/rclone.conf' \ --entrypoint rclone \ ghcr.io/ep1cman/unifi-protect-backup \ listremotes

following error is received: 2024/02/29 02:12:25 Failed to load config file "/root/.config/rclone/rclone.conf": read /root/.config/rclone/rclone.conf: is a directory

I'm not sure how these two parameters in docker are handled and what I should be passing based on the location of the config.

Readme outline the following which does not work either: -v /path/to/rclone.conf:/config/rclone/rclone.conf \ -e RCLONE_CONFIG='/config/rclone/rclone.conf' \

brephil commented 4 months ago

moving to discussion prob not a bug.