mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-06-01 12:22:19 +00:00
12 lines
282 B
Text
12 lines
282 B
Text
{% 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 env %}
|
|
ORPort 9001
|
|
{% endif %}
|
|
|
|
SocksPort 0
|