Skip to content

Commit 034383f

Browse files
authored
feat: Increase healthcheck timeout
1 parent e886012 commit 034383f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ LABEL org.opencontainers.image.source=https://github.com/dockur/tor/
1818
EXPOSE 9050
1919
EXPOSE 9051
2020

21-
HEALTHCHECK --interval=60s --timeout=15s --start-period=20s \
21+
HEALTHCHECK --interval=300s --timeout=15s --start-period=20s \
2222
CMD curl -x socks5h://127.0.0.1:9050 'https://check.torproject.org/api/ip' | grep -qm1 -E '"IsTor"\s*:\s*true'
2323

2424
VOLUME ["/var/lib/tor"]

0 commit comments

Comments
 (0)