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:
Fabian Peter Hammerle
2020-09-26 22:56:19 +02:00
parent a4f7946ced
commit ef97bc410f
+1 -3
View File
@@ -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