[Compose] Add WATCHDOG_MYSQL_REPLICATION_CHECKS to compose

master
andryyy 2020-04-06 11:24:31 +02:00
parent 20c29f8204
commit 5596b1d863
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 4 additions and 1 deletions

View File

@ -393,7 +393,7 @@ services:
- /lib/modules:/lib/modules:ro - /lib/modules:/lib/modules:ro
watchdog-mailcow: watchdog-mailcow:
image: mailcow/watchdog:1.72 image: mailcow/watchdog:1.73
# Debug # Debug
#command: /watchdog.sh #command: /watchdog.sh
dns: dns:
@ -410,10 +410,12 @@ services:
- DBNAME=${DBNAME} - DBNAME=${DBNAME}
- DBUSER=${DBUSER} - DBUSER=${DBUSER}
- DBPASS=${DBPASS} - DBPASS=${DBPASS}
- DBROOT=${DBROOT}
- USE_WATCHDOG=${USE_WATCHDOG:-n} - USE_WATCHDOG=${USE_WATCHDOG:-n}
- WATCHDOG_NOTIFY_EMAIL=${WATCHDOG_NOTIFY_EMAIL} - WATCHDOG_NOTIFY_EMAIL=${WATCHDOG_NOTIFY_EMAIL}
- WATCHDOG_NOTIFY_BAN=${WATCHDOG_NOTIFY_BAN:-y} - WATCHDOG_NOTIFY_BAN=${WATCHDOG_NOTIFY_BAN:-y}
- WATCHDOG_EXTERNAL_CHECKS=${WATCHDOG_EXTERNAL_CHECKS:-n} - WATCHDOG_EXTERNAL_CHECKS=${WATCHDOG_EXTERNAL_CHECKS:-n}
- WATCHDOG_MYSQL_REPLICATION_CHECKS=${WATCHDOG_MYSQL_REPLICATION_CHECKS:-n}
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME} - MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
- IPV4_NETWORK=${IPV4_NETWORK:-172.22.1} - IPV4_NETWORK=${IPV4_NETWORK:-172.22.1}
- IP_BY_DOCKER_API=${IP_BY_DOCKER_API:-0} - IP_BY_DOCKER_API=${IP_BY_DOCKER_API:-0}
@ -428,6 +430,7 @@ services:
- UNBOUND_THRESHOLD=5 - UNBOUND_THRESHOLD=5
- REDIS_THRESHOLD=5 - REDIS_THRESHOLD=5
- MYSQL_THRESHOLD=5 - MYSQL_THRESHOLD=5
- MYSQL_REPLICATION_THRESHOLD=1
- SOGO_THRESHOLD=3 - SOGO_THRESHOLD=3
- POSTFIX_THRESHOLD=8 - POSTFIX_THRESHOLD=8
- CLAMD_THRESHOLD=15 - CLAMD_THRESHOLD=15