diff --git a/templates/backup.yaml.j2 b/templates/backup.yaml.j2 index c571f0863e7af03aa64b0a124434148e4e06116b..fedda34b4b7791c42a687af3fcae7ccac36aa849 100644 --- a/templates/backup.yaml.j2 +++ b/templates/backup.yaml.j2 @@ -1,8 +1,7 @@ version: "2.1" services: backup_privatebin: - 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 + image: ghcr.io/tecnativa/docker-duplicity-postgres:master hostname: {{ inventory_hostname_short | lower | regex_replace('_','') }}-privatebin environment: DST: "swift://privatebin_{{ inventory_hostname|lower }}" diff --git a/templates/backup2.yaml.j2 b/templates/backup2.yaml.j2 index d248093a774336543fc322e595be01f1e422323f..ee0c18aa5d4f2d2680f0f3b496c08c8e8d9c11bd 100644 --- a/templates/backup2.yaml.j2 +++ b/templates/backup2.yaml.j2 @@ -1,8 +1,7 @@ version: "2.1" services: backup_privatebin: - 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 + image: ghcr.io/tecnativa/docker-duplicity-postgres:master hostname: {{ inventory_hostname_short | lower | regex_replace('_','') }}-privatebin environment: DST: "swift://privatebin_{{ inventory_hostname|lower }}"