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
This commit is contained in:
parent
9fea5617ee
commit
14b686bc39
|
@ -13,7 +13,7 @@ RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk
|
||||||
COPY --chown=tor:root torrc /etc/tor/
|
COPY --chown=tor:root torrc /etc/tor/
|
||||||
|
|
||||||
HEALTHCHECK --timeout=10s --start-period=60s \
|
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
|
USER tor
|
||||||
EXPOSE 8853/udp 9150/tcp
|
EXPOSE 8853/udp 9150/tcp
|
||||||
|
|
Loading…
Reference in a new issue