mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-24 20:35:42 +00:00
Honor configured DNS port for docker health check
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
@@ -112,6 +112,6 @@ RUN readelf -h /usr/bin/pihole-FTL || (echo "Error with local FTL binary" && ex
|
||||
# Use the appropriate FTL Install stage based on the FTL_SOURCE build-arg
|
||||
FROM ${FTL_SOURCE}-ftl-install AS final
|
||||
|
||||
HEALTHCHECK CMD dig +short +norecurse +retry=0 @127.0.0.1 pi.hole || exit 1
|
||||
HEALTHCHECK CMD dig -p ${FTLCONF_dns_port:-53} +short +norecurse +retry=0 @127.0.0.1 pi.hole || exit 1
|
||||
|
||||
ENTRYPOINT ["start.sh"]
|
||||
|
||||
Reference in New Issue
Block a user