diff --git a/README.md b/README.md index b3077b9..0530f9a 100644 --- a/README.md +++ b/README.md @@ -119,20 +119,14 @@ docker run \ -e UFP_ADDRESS='UNIFI_PROTECT_IP' \ -e UFP_SSL_VERIFY='false' \ -e RCLONE_DESTINATION='my_remote:/unifi_protect_backup' \ - -v '/path/to/dir/containing/rclone.conf/on/host':'/root/.config/rclone/' \ + -v '/path/to/rclone.conf':'/root/.config/rclone/rclone.conf' \ ghcr.io/ep1cman/unifi-protect-backup ``` -The container expects a `rclone.conf` file to be inside the configuration directory. If you do not already have a `rclone.conf` file you can create one as follows: ``` -$ docker run -it --rm ghcr.io/ep1cman/unifi-protect-backup /bin/sh -/app # rclone config -(Setup your rclone remote, see here for documentation: https://rclone.org/docs/#configure) -/app # cat $(rclone config file | sed -n 2p) -/app # exit +$ docker run -it --rm -v $PWD:/root/.config/rclone/ ghcr.io/ep1cman/unifi-protect-backup rclone config ``` -This should print out the contents of the newly configured `rclone.conf` file which you -can now copy & paste into a file on your host system +This will create a `rclone.conf` file in your current directory ## Credits