mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-23 02:14:26 +00:00
watchdog: use dig instead of check_dns (#6685)
* watchdog: use dig instead of check_dns check_dns is slower and uses more system resources, dig wrapped in a script is a more performant approach and uses fewer system resources * added debug mode + compose image bump --------- Co-authored-by: maxi322 <maxi322@users.noreply.github.com> Co-authored-by: DerLinkman <niklas.meyer@servercow.de>
This commit is contained in:
parent
4d88e19106
commit
5e66ffa366
4 changed files with 50 additions and 4 deletions
|
|
@ -521,7 +521,7 @@ services:
|
|||
- /lib/modules:/lib/modules:ro
|
||||
|
||||
watchdog-mailcow:
|
||||
image: ghcr.io/mailcow/watchdog:2.08
|
||||
image: ghcr.io/mailcow/watchdog:2.09
|
||||
dns:
|
||||
- ${IPV4_NETWORK:-172.22.1}.254
|
||||
tmpfs:
|
||||
|
|
@ -588,6 +588,7 @@ services:
|
|||
- OLEFY_THRESHOLD=${OLEFY_THRESHOLD:-5}
|
||||
- MAILQ_THRESHOLD=${MAILQ_THRESHOLD:-20}
|
||||
- MAILQ_CRIT=${MAILQ_CRIT:-30}
|
||||
- DEV_MODE=${DEV_MODE:-n}
|
||||
networks:
|
||||
mailcow-network:
|
||||
aliases:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue