mirror of
https://github.com/cmehay/docker-tor-hidden-service
synced 2024-11-20 03:25:48 +00:00
13 lines
282 B
Plaintext
13 lines
282 B
Plaintext
{% 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
|