From df27d786ec91542850c6c2efcbacab64a225d587 Mon Sep 17 00:00:00 2001 From: chatton Date: Thu, 8 Jun 2023 21:40:14 +0100 Subject: [PATCH] add gotify --- host_vars/qnap.yml | 1 + roles/setup_hosted_services/templates/gotify.j2 | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 roles/setup_hosted_services/templates/gotify.j2 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: