add labal for WatchTower
All checks were successful
Deployment Verification / deploy-and-test (push) Successful in 26s

This commit is contained in:
Hubert Cornet 2025-02-01 14:41:38 +01:00
parent c45653a096
commit 1531cd313e

View File

@ -30,6 +30,8 @@ services:
- "MYSQL_USER=${MYSQL_USER}" - "MYSQL_USER=${MYSQL_USER}"
- "MYSQL_PASSWORD=${MYSQL_PASSWORD}" - "MYSQL_PASSWORD=${MYSQL_PASSWORD}"
restart: always restart: always
labels:
- "com.centurylinklabs.watchtower.enable=true"
librenms-redis: librenms-redis:
container_name: librenms-redis container_name: librenms-redis
@ -40,6 +42,8 @@ services:
environment: environment:
- "TZ=${TZ}" - "TZ=${TZ}"
restart: always restart: always
labels:
- "com.centurylinklabs.watchtower.enable=true"
librenms-msmtpd: librenms-msmtpd:
container_name: librenms-msmtpd container_name: librenms-msmtpd
@ -51,6 +55,8 @@ services:
# env_file: # env_file:
# - "./msmtpd.env" # - "./msmtpd.env"
restart: always restart: always
labels:
- "com.centurylinklabs.watchtower.enable=true"
librenms-app: librenms-app:
container_name: librenms-app container_name: librenms-app
@ -63,6 +69,7 @@ services:
volumes: volumes:
- "./librenms:/data" - "./librenms:/data"
labels: labels:
- "com.centurylinklabs.watchtower.enable=true"
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.docker.network=traefik_front_network" - "traefik.docker.network=traefik_front_network"
# HTTP # HTTP
@ -116,6 +123,8 @@ services:
- "DISPATCHER_NODE_ID=dispatcher1" - "DISPATCHER_NODE_ID=dispatcher1"
- "SIDECAR_DISPATCHER=1" - "SIDECAR_DISPATCHER=1"
restart: always restart: always
labels:
- "com.centurylinklabs.watchtower.enable=true"
librenms-syslogng: librenms-syslogng:
container_name: librenms-syslog container_name: librenms-syslog
@ -144,6 +153,8 @@ services:
- "DB_TIMEOUT=60" - "DB_TIMEOUT=60"
- "SIDECAR_SYSLOGNG=1" - "SIDECAR_SYSLOGNG=1"
restart: always restart: always
labels:
- "com.centurylinklabs.watchtower.enable=true"
librenms-snmptrapd: librenms-snmptrapd:
container_name: librenms-snmptrapd container_name: librenms-snmptrapd
@ -175,3 +186,5 @@ services:
- "DB_TIMEOUT=60" - "DB_TIMEOUT=60"
- "SIDECAR_SNMPTRAPD=1" - "SIDECAR_SNMPTRAPD=1"
restart: always restart: always
labels:
- "com.centurylinklabs.watchtower.enable=true"