Compare commits

...

2 Commits

Author SHA1 Message Date
Sam A. adcfae90e9
Add more volumes to Restic 2023-05-28 22:48:22 +02:00
Sam A. 5510c0e016
Change mode for pihole directory 2023-05-28 22:41:01 +02:00
3 changed files with 10 additions and 5 deletions

View File

@ -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"

View File

@ -12,7 +12,7 @@
name: "{{ services.pihole.volume }}/pihole"
owner: '999'
group: '1000'
mode: u=rwx,g=rx,o=rx
mode: u=rwx,g=rwx,o=rx
state: directory
- name: Create other Pi-hole volume directories

View File

@ -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 }}