fix remaining healthchecks

This commit is contained in:
2026-02-04 20:12:08 +01:00
parent 2a20cce669
commit f955d7382c
14 changed files with 27 additions and 52 deletions

View File

@@ -1,5 +1,6 @@
services:
dns-ad-blocker:
image: oznu/dns-ad-blocker:latest
container_name: dns-ad-blocker
environment:
- AUTO_UPDATE=1
@@ -9,7 +10,6 @@ services:
- DNSCRYPT_RESOLVER_ADDR=45.76.35.212
- DNSCRYPT_PROVIDER_KEY=4C84:FB8C:0511:5DFA:5F97:C5ED:0329:1370:C78A:BCD6:4E15:DD53:AB08:DE72:FB84:4ACA
- WHITELIST=api.segment.io,www.googleapis.com,analytics.google.com
image: oznu/dns-ad-blocker:latest
ports:
- 192.168.2.201:53:53/udp
restart: unless-stopped
@@ -19,7 +19,7 @@ services:
- /opt/dns-ad-blocker/var/log:/var/log
- /opt/dns-ad-blocker/dnsmasq.hosts:/etc/dnsmasq.hosts
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
test: ["CMD-SHELL", "nc -z -u localhost 53 || exit 1"]
interval: 30s
timeout: 10s
retries: 3