You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-tor-hidden-service/assets/entrypoint-config.yml

42 lines
716 B
YAML

commands:
- tor
- vanguards
user: tor
group: tor
secret_env:
- '*_KEY'
- '*_PORTS'
- '*_SERVICE_NAME'
- '*_TOR_SERVICE_*'
- 'TOR_SOCKS_PORT'
- TOR_CONTROL_PASSWORD
config_files:
- vanguards:
- /var/local/tor/vanguards.conf.tpl: /etc/tor/vanguards.conf
pre_conf_commands:
- tor:
- onions --setup-hosts
post_conf_commands:
- tor:
- mkdir -p /run/tor
- chmod -R 700 $HOME /run/tor
- chown -R tor:tor $HOME /run/tor
post_run_commands:
- tor:
- onions --run-vanguards
set_environment:
- vanguards:
- TOR_CONTROL_PORT: onions --resolve-control-port
reload:
files:
- /etc/tor/torrc
debug: false