Add more volumes to Restic
This commit is contained in:
parent
5510c0e016
commit
adcfae90e9
|
@ -51,3 +51,11 @@ services:
|
|||
|
||||
sender_domains:
|
||||
- "{{ services.nextcloud.domain }}"
|
||||
|
||||
backup_volumes:
|
||||
- "{{ services.caddy.volume }}:/mnt/volumes/caddy:ro"
|
||||
- "{{ services.postfix.volume }}:/mnt/volumes/postfix:ro"
|
||||
- "{{ services.emby.volume }}/programdata:/mnt/volumes/emby/programdata:ro"
|
||||
- "{{ services.nextcloud.volume }}:/mnt/volumes/nextcloud:ro"
|
||||
- "{{ services.pihole.volume }}:/mnt/volumes/pi-hole:ro"
|
||||
- "{{ services.wireguard.volume }}:/mnt/volumes/wireguard:ro"
|
||||
|
|
|
@ -31,10 +31,7 @@
|
|||
B2_ACCOUNT_ID: "{{ secrets.restic.b2.id }}"
|
||||
B2_ACCOUNT_KEY: "{{ secrets.restic.b2.key }}"
|
||||
TZ: "{{ timezone }}"
|
||||
volumes:
|
||||
- "{{ services.caddy.volume }}:/mnt/volumes/caddy:ro"
|
||||
- "{{ services.nextcloud.volume }}:/mnt/volumes/nextcloud:ro"
|
||||
- "{{ services.emby.volume }}/programdata:/mnt/volumes/emby/programdata:ro"
|
||||
volumes: "{{ backup_volumes }}"
|
||||
|
||||
prune:
|
||||
image: mazzolino/restic:{{ services.restic.version }}
|
||||
|
|
Reference in a new issue