소스 검색

Use HTTP for healthcheck command

Agus Lopez 1 년 전
부모
커밋
c5af2774e9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -14,7 +14,7 @@ COPY torrc /etc/tor/torrc
 EXPOSE 9050/tcp
 
 HEALTHCHECK --interval=5m --timeout=5s \
-  CMD timeout 2 curl -sfo /dev/null --socks5-hostname 127.0.0.1:9050 'https://check.torproject.org'
+  CMD timeout 2 curl -sfo /dev/null --socks5-hostname 127.0.0.1:9050 'http://check.torproject.org'
 
 USER debian-tor