From 5319dfc0ab3069ea92e3409285e0e75d8c45fd4d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 24 Oct 2024 11:04:36 +0200 Subject: [PATCH] Add caching --- gdrive.docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdrive.docker-compose.yml b/gdrive.docker-compose.yml index 84a2196..1dbd7de 100644 --- a/gdrive.docker-compose.yml +++ b/gdrive.docker-compose.yml @@ -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"