From 14b686bc3948daae3feb76d1bdc6edd79f303653 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Mon, 5 Jul 2021 19:40:59 +0800 Subject: [PATCH] Update healthcheck target URL to Facebook's Tor onion service V3 Onion service v2 is deprecated, see: - https://blog.torproject.org/v2-deprecation-timeline Facebook onion service reference: - https://www.facebook.com/onion-service - https://en.wikipedia.org/wiki/Facebook_onion_address --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bbe6cf0..5ddaca6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk COPY --chown=tor:root torrc /etc/tor/ HEALTHCHECK --timeout=10s --start-period=60s \ - CMD curl --fail --socks5-hostname localhost:9150 -I -L 'https://www.facebookcorewwwi.onion/' || exit 1 + CMD curl --fail --socks5-hostname localhost:9150 -I -L 'https://www.facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion/' || exit 1 USER tor EXPOSE 8853/udp 9150/tcp