Merge pull request #19 from BokilaLin/master
This commit is contained in:
commit
1743e2d50a
|
@ -15,6 +15,6 @@ COPY 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.facebookcorewwwi.onion/' || exit 1
|
||||||
|
|
||||||
EXPOSE 53 9150
|
EXPOSE 53/udp 9150/tcp
|
||||||
|
|
||||||
CMD ["/usr/bin/tor", "-f", "/etc/tor/torrc"]
|
CMD ["/usr/bin/tor", "-f", "/etc/tor/torrc"]
|
||||||
|
|
|
@ -6,6 +6,6 @@ services:
|
||||||
container_name: tor-socks-proxy
|
container_name: tor-socks-proxy
|
||||||
image: peterdavehello/tor-socks-proxy:latest
|
image: peterdavehello/tor-socks-proxy:latest
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:53:53"
|
- "127.0.0.1:53:53/udp"
|
||||||
- "127.0.0.1:9150:9150"
|
- "127.0.0.1:9150:9150/tcp"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in a new issue