./docker-compose.yml", line 14, column 7
jaidetura55 opened this issue · 1 comments
jaidetura55 commented
./docker-compose.yml", line 14, column 7
jaidetura55 commented
version: '2.2'
services:
relay:
image: chriswayg/tor-server
init: true
restart: always
network_mode: host
## the ports are not needed with network_mode host
#ports:
#- "9001:9001"
#- "9030:9030"
#- "54444:54444"
#- "7002:7002"
environment:
TOR_NICKNAME: centminer101
CONTACT_EMAIL: jaidetura55@gmail.com
volumes:
## mount and DataDirectory and custom torrc
here
- ./tor-data/:/var/lib/tor/
- ./torrc:/etc/tor/torrc
## alternatively mount previously saved identity keys here
#- ./tests/tor-data/keys/secret_id_key:/var/lib/tor/keys/secret_id_key
#- ./tests/tor-data/keys/ed25519_master_id_secret_key:/var/lib/tor/keys/secret_id_key