vmagent - add watchtower label

This commit is contained in:
Ludovic Cartier 2024-04-24 11:00:43 +02:00
parent ad01295f6c
commit 834b1a6d5e

View File

@ -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 %}