mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-06-01 04:12:14 +00:00
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.
27 lines
420 B
YAML
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
|