mirror of
https://github.com/offen/docker-volume-backup.git
synced 2025-11-10 01:10:33 +08:00
Merge pull request #1 from shalafi99/dropbox-document-updates
Dropbox document updates
This commit is contained in:
commit
b177cea0a3
2 changed files with 5 additions and 3 deletions
|
|
@ -33,5 +33,7 @@ Note: Using the "Generated access token" in the app console is not supported, as
|
||||||
|
|
||||||
## Other parameters
|
## Other parameters
|
||||||
|
|
||||||
Important: If you chose `App folder` access during the creation of your Dropbox app in step 1 above, you can only write in the app's directory!
|
Important: If you chose `App folder` access during the creation of your Dropbox app in step 1 above, `DROPBOX_REMOTE_PATH` will be a relative path under the App folder!
|
||||||
This means, that `DROPBOX_REMOTE_PATH` must start with e.g. `/Apps/YOUR_APP_NAME` or `/Apps/YOUR_APP_NAME/some_sub_dir`
|
(_For example, DROPBOX_REMOTE_PATH=/somedir means the backup file will be uploaded to /Apps/myapp/somedir_)
|
||||||
|
On the other hand if you chose `Full Dropbox` access, the value for `DROPBOX_REMOTE_PATH` will represent an absolute path inside your Dropbox storage area.
|
||||||
|
(_Still considering the same example above, the backup file will be uploaded to /somedir in your Dropbox root_)
|
||||||
|
|
|
||||||
|
|
@ -190,7 +190,7 @@ services:
|
||||||
DROPBOX_REFRESH_TOKEN: REFRESH_KEY # replace
|
DROPBOX_REFRESH_TOKEN: REFRESH_KEY # replace
|
||||||
DROPBOX_APP_KEY: APP_KEY # replace
|
DROPBOX_APP_KEY: APP_KEY # replace
|
||||||
DROPBOX_APP_SECRET: APP_SECRET # replace
|
DROPBOX_APP_SECRET: APP_SECRET # replace
|
||||||
DROPBOX_REMOTE_PATH: /Apps/my-test-app/some_subdir # replace
|
DROPBOX_REMOTE_PATH: /somedir # replace
|
||||||
volumes:
|
volumes:
|
||||||
- data:/backup/my-app-backup:ro
|
- data:/backup/my-app-backup:ro
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue