mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-05-31 11:52:15 +00:00
Display port with .onion
This commit is contained in:
parent
7cb15100bd
commit
3081356fb1
4 changed files with 34 additions and 7 deletions
|
@ -1,7 +1,9 @@
|
|||
{% 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}}
|
||||
{% set port = env['PORT_MAP'] if 'PORT_MAP' in env else link.port %}
|
||||
# PORT {{container.names[0]}} {{port}}
|
||||
HiddenServicePort {{port}} {{link.ip}}:{{link.port}}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue