mirror of
https://github.com/fphammerle/docker-tor-proxy.git
synced 2025-10-27 02:43:35 +01:00
healthcheck: remove circuit-established check via control port to avoid spamming container log
> [notice] New control connection opened from 127.0.0.1.
This commit is contained in:
+1
-3
@@ -26,8 +26,6 @@ USER onion
|
||||
CMD ["tor", "-f", "/tmp/torrc"]
|
||||
|
||||
HEALTHCHECK CMD \
|
||||
printf 'AUTHENTICATE\nGETINFO status/circuit-established\n' \
|
||||
| nc localhost 9051 | grep -q status/circuit-established=1 \
|
||||
&& curl --silent --socks5 localhost:9050 https://google.com > /dev/null \
|
||||
curl --silent --socks5 localhost:9050 https://google.com > /dev/null \
|
||||
&& [ ! -z "$(dig -p 9053 +notcp +short one.one.one.one @localhost)" ] \
|
||||
|| exit 1
|
||||
|
||||
Reference in New Issue
Block a user