docker-tor-hidden-service/assets/entrypoint-config.yml
Anonymous contributor 9f706238fc Enables configuration of Tor's control port
The patch adds a single commit which enables configuration of Tor's control port. Once merged, your project can be used in conjuction with vanguards, an addon which increases privacy of a hidden service.
2020-01-24 00:48:29 +01:00

27 lines
420 B
YAML

command: tor
user: tor
group: tor
secret_env:
- '*_KEY'
- '*_PORTS'
- '*_SERVICE_NAME'
- '*_TOR_SERVICE_*'
- 'TOR_SOCKS_PORT'
- 'TOR_CONTROL_PORT'
- 'TOR_CONTROL_AUTH_PASSWORD'
- 'TOR_CONTROL_AUTH_COOKIE'
pre_conf_commands:
- onions --setup-hosts
post_conf_commands:
- chmod -R 700 $HOME
- chown -R tor:tor $HOME
reload:
files:
- /etc/tor/torrc
debug: false