From 184c18752e4257d085ba02eb94132088777111c0 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 18 Jun 2023 20:42:32 +0200 Subject: [PATCH] Rename service from `backup` to `duplicity` --- README.md | 8 ++++---- test.docker-compose.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4e08e37..6b35c0f 100644 --- a/README.md +++ b/README.md @@ -62,16 +62,16 @@ Backup solution for Docker volumes based on Duplicity ```yml secrets: duplicity_passphrase: - file: "/root/secrets/backup/passphrase.txt" + file: "/root/secrets/duplicity/passphrase.txt" google_client_config: - file: "/root/secrets/backup/client_config.yml" + file: "/root/secrets/duplicity/client_config.yml" ``` 4. Add the following service: ```yml services: - backup: + duplicity: image: "ghcr.io/steffo99/backup-duplicity:latest" restart: unless-stopped secrets: @@ -93,7 +93,7 @@ Backup solution for Docker volumes based on Duplicity 6. Log in to Google Drive and perform an initial backup with: ```console - # docker compose run -i --entrypoint=/bin/sh --volume='.:/mnt' --volume='duplicity_credentials:/var/lib/duplicity' backup /etc/periodic/daily/backup.sh + # docker compose run -i --entrypoint=/bin/sh --volume='.:/mnt' --volume='duplicity_credentials:/var/lib/duplicity' duplicity /etc/periodic/daily/backup.sh ``` 7. Properly start the container with: diff --git a/test.docker-compose.yml b/test.docker-compose.yml index 884669e..059f2a9 100644 --- a/test.docker-compose.yml +++ b/test.docker-compose.yml @@ -11,7 +11,7 @@ volumes: external: true services: - backup: + duplicity: image: "ghcr.io/steffo99/backup-duplicity:latest" entrypoint: "/bin/sh" command: "/etc/periodic/daily/backup.sh"