This commit is contained in:
Zachary Boyd 2016-04-06 16:54:00 -04:00
parent f83efc3249
commit f27694626d
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,7 @@
Log notice stdout
SocksPort 0.0.0.0:9050
DataDirectory /data
DNSPort 0.0.0.0:9053
DNSPort 0.0.0.0:9053
ExcludeSingleHopRelays 0
NewCircuitPeriod 10
EnforceDistinctSubnets 0

View file

@ -81,6 +81,7 @@ const Tor = (function () {
},
function (path, $next) {
tor.docker.run(TOR_IMAGE, [], null, { ExposedPorts: { '9050/tcp':{}, '9053/udp':{} } }, { Binds: [ path+':/etc/tor/torrc:ro' ] }, function (error, data, container) {
console.log(error)
container.remove();
}).on('container', (function (container) {
var tor = this;