Add remote docker volumes (using rclone)
This commit is contained in:
parent
f20b2596d0
commit
a2c680f3e8
6 changed files with 39 additions and 5 deletions
playbooks/filter_plugins
|
@ -22,6 +22,9 @@ class FilterModule(object):
|
|||
if location["type"] == "docker":
|
||||
new_location["from"] = name
|
||||
new_location["type"] = "volume"
|
||||
if location["type"] == "docker_remote":
|
||||
new_location["from"] = name
|
||||
new_location["type"] = "volume"
|
||||
|
||||
if location["type"] == "hook":
|
||||
backup_dir = f"/opt/services/_backup/{name}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue