btcpayserver-docker/Generated/torrc-relay.tmpl
Andrew Camilleri 3ff6a88d8e 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
2019-10-03 13:00:45 +09:00

12 lines
234 B
Cheetah

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 }}