This commit is contained in:
Sam A. 2022-11-25 21:41:37 +01:00
parent 814a268965
commit 439a538c14
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
1 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,9 @@
---
- name: setup restic backup
- name: Setup restic backup
when: not vagrant
docker_compose:
project_name: restic_backup
pull: yes
pull: true
definition:
version: '3.6'
services:
@ -27,7 +28,7 @@
TZ: Europe/Copenhagen
volumes:
- /docker-volumes:/mnt/volumes:ro
restic-prune:
image: "mazzolino/restic:1.6.0"
environment:
@ -36,4 +37,3 @@
RESTIC_REPOSITORY: "rest:https://{{ restic.user }}:{{ restic_secrets.user_password }}@{{ restic.domain }}/{{ restic.repository }}"
RESTIC_PASSWORD: "{{ restic_secrets.repository_password }}"
TZ: Europe/copenhagen
when: not vagrant