1
0

Add tor relay fragment (#190)

* Add tor relay fragment

* remove extra ,

* use same tor container for relay

* remove \ns

* use own container for tor relay because of https://trac.torproject.org/projects/tor/ticket/8742

* be explicit with ports

* fix container name

* fix duplicate config

* fix config clash

* do not set daemon config item

* add info about tor requirements and legal implications
This commit is contained in:
Andrew Camilleri
2019-10-03 06:00:45 +02:00
committed by Nicolas Dorier
parent 08314c6086
commit 3ff6a88d8e
6 changed files with 59 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
ORPort 9001
DirPort 9030
ExitPolicy reject *:*
CookieAuthentication 1
Nickname {{ $.Env.TOR_RELAY_NICKNAME}}
ContactInfo {{ $.Env.TOR_RELAY_EMAIL}}
{{ if $.Env.ADDITIONAL_TORRC_CONFIG }}
{{ $.Env.ADDITIONAL_TORRC_CONFIG}}
{{ end }}

View File

@@ -27,4 +27,8 @@ HiddenServicePort {{ $virtualPort }} {{ $containerNetwork.IP }}:{{ $port }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ if $.Env.ADDITIONAL_TORRC_CONFIG }}
{{ $.Env.ADDITIONAL_TORRC_CONFIG}}
{{ end }}