Skip to content
Extraits de code Groupes Projets
Valider 992fe25b rédigé par Rémi - Le Filament's avatar Rémi - Le Filament
Parcourir les fichiers

[IMP] add cache and update hostname

parent 37f0f553
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -2,7 +2,7 @@ version: "2.1"
services:
backup_auth:
image: tecnativa/duplicity:postgres
hostname: backup-auth
hostname: {{ inventory_hostname_short | lower | regex_replace('_','') }}-auth
environment:
DST: "swift://auth_{{ inventory_hostname|lower }}"
PGDATABASE: "none"
......@@ -27,9 +27,11 @@ services:
- auth_ldap_db:/mnt/backup/src/ldap_db:z
- auth_lemonldap_etc_conf:/mnt/backup/src/lemonldap_etc_conf:z
- auth_lemonldap_conf:/mnt/backup/src/lemonldap_conf:z
- /home/docker/backups/ldap_backup.ldif:/mnt/backup/src/ldap_backup.ldif:z
- /home/docker/backups/ldap_backup.ldif:/mnt/backup/src/ldap_backup.ldif:ro
- auth_backup_cache:/root/.cache/duplicity/
volumes:
auth_backup_cache:
auth_ldap_config:
external: true
auth_ldap_db:
......
......@@ -2,7 +2,7 @@ version: "2.1"
services:
backup_auth:
image: tecnativa/duplicity:postgres
hostname: backup-auth
hostname: {{ inventory_hostname_short | lower | regex_replace('_','') }}-auth
environment:
DST: "swift://auth_{{ inventory_hostname|lower }}"
PGDATABASE: "none"
......@@ -27,9 +27,11 @@ services:
- auth_ldap_db:/mnt/backup/src/ldap_db:z
- auth_lemonldap_etc_conf:/mnt/backup/src/lemonldap_etc_conf:z
- auth_lemonldap_conf:/mnt/backup/src/lemonldap_conf:z
- /home/docker/backups/ldap_backup.ldif:/mnt/backup/src/ldap_backup.ldif:z
- /home/docker/backups/ldap_backup.ldif:/mnt/backup/src/ldap_backup.ldif:ro
- auth_backup2_cache:/root/.cache/duplicity/
volumes:
auth_backup2_cache:
auth_ldap_config:
external: true
auth_ldap_db:
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter