Using pyentrypoint

This commit is contained in:
Christophe Mehay 2016-03-07 03:43:12 +01:00
parent 7f16f43cdf
commit ccfdb851cc
8 changed files with 59 additions and 93 deletions

12
assets/torrc Normal file
View 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