Add support for docker-compose v2 and private keys

This commit is contained in:
Christophe Mehay 2016-09-23 03:24:11 +02:00
parent dc821c284a
commit 4615d83430
7 changed files with 210 additions and 17 deletions

View file

@ -3,8 +3,12 @@ command: tor
user: debian-tor
group: debian-tor
config_files:
- /etc/tor/torrc
secret_env:
- '*_KEY'
- '*_PORTS'
pre_conf_commands:
- onions --setup-hosts
post_conf_commands:
- timeout 3s tor > /dev/null || true