Skip to content
Snippets Groups Projects
Commit 5ab2939e authored by Rémi - Le Filament's avatar Rémi - Le Filament
Browse files

[ENH] update backup image and remove source mismatch

parent cb2be37c
Branches
No related tags found
No related merge requests found
version: "2.1"
services:
backup_privatebin:
image: tecnativa/duplicity:postgres
image: remifilament/duplicity:postgres # Until https://github.com/Tecnativa/docker-duplicity/pull/324 is merged
# image: ghcr.io/tecnativa/docker-duplicity-postgres:master # Once https://github.com/Tecnativa/docker-duplicity/pull/324 is merged
hostname: {{ inventory_hostname_short | lower | regex_replace('_','') }}-privatebin
environment:
DST: "swift://privatebin_{{ inventory_hostname|lower }}"
......@@ -20,7 +21,6 @@ services:
JOB_300_WHAT: "backup --full-if-older-than 6D"
JOB_302_WHAT: "dup remove-all-but-n-full 5 --force $$DST $$@"
JOB_302_WHEN: "daily"
OPTIONS: "--allow-source-mismatch"
volumes:
- privatebin_backup_cache:/root/.cache/duplicity/
- privatebin_data:/mnt/backup/src/privatebin:z
......
version: "2.1"
services:
backup_privatebin:
image: tecnativa/duplicity:postgres
image: remifilament/duplicity:postgres # Until https://github.com/Tecnativa/docker-duplicity/pull/324 is merged
# image: ghcr.io/tecnativa/docker-duplicity-postgres:master # Once https://github.com/Tecnativa/docker-duplicity/pull/324 is merged
hostname: {{ inventory_hostname_short | lower | regex_replace('_','') }}-privatebin
environment:
DST: "swift://privatebin_{{ inventory_hostname|lower }}"
......@@ -20,7 +21,6 @@ services:
JOB_300_WHAT: "backup --full-if-older-than 6D"
JOB_302_WHAT: "dup remove-all-but-n-full 5 --force $$DST $$@"
JOB_302_WHEN: "daily"
OPTIONS: "--allow-source-mismatch"
volumes:
- privatebin_backup2_cache:/root/.cache/duplicity/
- privatebin_data:/mnt/backup/src/privatebin:z
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment