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