diff --git a/host_vars/qnap.yml b/host_vars/qnap.yml index f80497e..07ee021 100644 --- a/host_vars/qnap.yml +++ b/host_vars/qnap.yml @@ -101,6 +101,9 @@ services: plex_image: lscr.io/linuxserver/plex plex_tag: 1.32.4 - name: uptime-kuma + template_vars: + image: louislam/uptime-kuma + tag: 1.22.0 - name: mariadb template_vars: image: mariadb diff --git a/roles/setup_hosted_services/templates/uptime-kuma.j2 b/roles/setup_hosted_services/templates/uptime-kuma.j2 index 5ebcb76..a8cff7c 100644 --- a/roles/setup_hosted_services/templates/uptime-kuma.j2 +++ b/roles/setup_hosted_services/templates/uptime-kuma.j2 @@ -4,8 +4,8 @@ services: uptime-kuma: labels: ie.cianhatton.backup.enabled: "true" - ie.cianhatton.backup.schedule: "{{backups.schedule_keys.nightly}}" - image: louislam/uptime-kuma:1 + ie.cianhatton.backup.schedule: "{{ backups.schedule_keys.nightly }}" + image: "{{ template_vars.image }}:{{ template_vars.tag }}" container_name: uptime-kuma volumes: - data:/app/data