diff --git a/templates/backup.yaml.j2 b/templates/backup.yaml.j2 index ad661c998b787aa2cb45313bce1753e6245cdb04..cf103f04efe7c985d6e394e5843f71f420c76bbc 100644 --- a/templates/backup.yaml.j2 +++ b/templates/backup.yaml.j2 @@ -1,8 +1,7 @@ version: "2.1" services: backup_gitlab: - 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('_','') }}-gitlab environment: DST: "swift://gitlab_{{ inventory_hostname|lower }}" diff --git a/templates/backup2.yaml.j2 b/templates/backup2.yaml.j2 index 02f16d03330fafaac421fab0055bcf3bea837596..4298c947ca0a2bf22bff1eae3d6c62b4fabc208a 100644 --- a/templates/backup2.yaml.j2 +++ b/templates/backup2.yaml.j2 @@ -1,8 +1,7 @@ version: "2.1" services: backup_gitlab: - 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('_','') }}-gitlab environment: DST: "swift://gitlab_{{ inventory_hostname|lower }}"