Skip to content

Commit 12b4af3

Browse files
committed
Honor configured DNS port for docker health check
Signed-off-by: yubiuser <github@yubiuser.dev>
1 parent 70d8e10 commit 12b4af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,6 @@ RUN readelf -h /usr/bin/pihole-FTL || (echo "Error with local FTL binary" && ex
112112
# Use the appropriate FTL Install stage based on the FTL_SOURCE build-arg
113113
FROM ${FTL_SOURCE}-ftl-install AS final
114114

115-
HEALTHCHECK CMD dig +short +norecurse +retry=0 @127.0.0.1 pi.hole || exit 1
115+
HEALTHCHECK CMD dig -p ${FTLCONF_dns_port:-53} +short +norecurse +retry=0 @127.0.0.1 pi.hole || exit 1
116116

117117
ENTRYPOINT ["start.sh"]

0 commit comments

Comments
 (0)