mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-05-19 16:30:21 +00:00
Using pyentrypoint
This commit is contained in:
parent
7f16f43cdf
commit
ccfdb851cc
8 changed files with 59 additions and 93 deletions
12
assets/torrc
Normal file
12
assets/torrc
Normal file
|
@ -0,0 +1,12 @@
|
|||
{% for container in containers %}
|
||||
HiddenServiceDir /var/lib/tor/hidden_service/{{container.names[0]}}
|
||||
{% for link in container.links %}
|
||||
HiddenServicePort {{link.port}} {{link.ip}}:{{link.port}}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
{% if 'RELAY' in environ %}
|
||||
ORPort 9001
|
||||
{% endif %}
|
||||
|
||||
SocksPort 0
|
Loading…
Add table
Add a link
Reference in a new issue