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:
|
volumes:
|
||||||
duplicity_credentials:
|
duplicity_credentials:
|
||||||
external: true
|
external: true
|
||||||
|
duplicity_cache:
|
||||||
|
external: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
duplicity:
|
duplicity:
|
||||||
|
@ -17,6 +19,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- "./exampledata:/mnt/example"
|
- "./exampledata:/mnt/example"
|
||||||
- "duplicity_credentials:/var/lib/duplicity"
|
- "duplicity_credentials:/var/lib/duplicity"
|
||||||
|
- "duplicity_cache:/usr/lib/duplicity/.cache/duplicity"
|
||||||
environment:
|
environment:
|
||||||
MODE: "backup"
|
MODE: "backup"
|
||||||
DUPLICITY_PASSPHRASE_FILE: "/run/secrets/duplicity_passphrase"
|
DUPLICITY_PASSPHRASE_FILE: "/run/secrets/duplicity_passphrase"
|
||||||
|
|
Loading…
Reference in a new issue