mirror of
https://github.com/Steffo99/backup-duplicity.git
synced 2024-12-22 03:34:17 +00:00
Add caching
This commit is contained in:
parent
c323b79d96
commit
5319dfc0ab
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,8 @@ secrets:
|
|||
volumes:
|
||||
duplicity_credentials:
|
||||
external: true
|
||||
duplicity_cache:
|
||||
external: true
|
||||
|
||||
services:
|
||||
duplicity:
|
||||
|
@ -17,6 +19,7 @@ services:
|
|||
volumes:
|
||||
- "./exampledata:/mnt/example"
|
||||
- "duplicity_credentials:/var/lib/duplicity"
|
||||
- "duplicity_cache:/usr/lib/duplicity/.cache/duplicity"
|
||||
environment:
|
||||
MODE: "backup"
|
||||
DUPLICITY_PASSPHRASE_FILE: "/run/secrets/duplicity_passphrase"
|
||||
|
|
Loading…
Reference in a new issue