This commit is contained in:
24
tasks/duplicati.yml
Normal file
24
tasks/duplicati.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
- name: Deploy Duplicati
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: duplicati
|
||||
directories:
|
||||
- "{{ data_dir }}/duplicati/app"
|
||||
- "{{ data_dir }}/duplicati/backups"
|
||||
image:
|
||||
name: lscr.io/linuxserver/duplicati
|
||||
tag: latest
|
||||
volumes:
|
||||
- "{{ data_dir }}/duplicati/app:/config"
|
||||
- "{{ data_dir }}/duplicati/backups:/backups"
|
||||
- "{{ share_path }}:/source:ro"
|
||||
networks:
|
||||
- name: "homelab"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.duplicati.rule: Host(`backups.fntz.net`)
|
||||
traefik.http.routers.duplicati.entrypoints: webSecure
|
||||
traefik.http.routers.duplicati.tls.certresolver: letsencrypt
|
||||
traefik.http.services.duplicati.loadbalancer.server.port: "8200"
|
||||
Reference in New Issue
Block a user