diff --git a/host_vars/qnap.yml b/host_vars/qnap.yml index 5bf81ad..46143f6 100644 --- a/host_vars/qnap.yml +++ b/host_vars/qnap.yml @@ -81,3 +81,4 @@ services: - name: olivetin - name: pihole - name: paperless + - name: gotify diff --git a/roles/setup_hosted_services/templates/gotify.j2 b/roles/setup_hosted_services/templates/gotify.j2 new file mode 100644 index 0000000..c86e4ec --- /dev/null +++ b/roles/setup_hosted_services/templates/gotify.j2 @@ -0,0 +1,16 @@ +--- +version: "3.1" +services: + gotify: + labels: + ie.cianhatton.backup.enabled: "true" + ie.cianhatton.backup.schedule: "{{ backups.schedule_keys.nightly }}" + image: gotify/server + container_name: gotify + volumes: + - data:/app/data + ports: + - 7875:80 + restart: always +volumes: + data: