1
Fork 0
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:
Steffo 2024-10-24 11:04:36 +02:00
parent c323b79d96
commit 5319dfc0ab
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -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"