From 834b1a6d5e49dc26475ca457059849e084a22d41 Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Wed, 24 Apr 2024 11:00:43 +0200 Subject: [PATCH] vmagent - add watchtower label --- templates/compose/grafana-prometheus.yml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/compose/grafana-prometheus.yml.j2 b/templates/compose/grafana-prometheus.yml.j2 index af650fe..63c21ca 100644 --- a/templates/compose/grafana-prometheus.yml.j2 +++ b/templates/compose/grafana-prometheus.yml.j2 @@ -160,6 +160,8 @@ services: - '-loggerLevel=ERROR' volumes: - /etc/prometheus:/etc/vmagent + labels: + com.centurylinklabs.watchtower.enable: {{ prometheus_watchtower_enable | default('true') }} networks: - grafana {% if prometheus_nodes_ip is defined %}