_
This commit is contained in:
parent
f83efc3249
commit
f27694626d
|
@ -2,3 +2,6 @@ Log notice stdout
|
||||||
SocksPort 0.0.0.0:9050
|
SocksPort 0.0.0.0:9050
|
||||||
DataDirectory /data
|
DataDirectory /data
|
||||||
DNSPort 0.0.0.0:9053
|
DNSPort 0.0.0.0:9053
|
||||||
|
ExcludeSingleHopRelays 0
|
||||||
|
NewCircuitPeriod 10
|
||||||
|
EnforceDistinctSubnets 0
|
|
@ -81,6 +81,7 @@ const Tor = (function () {
|
||||||
},
|
},
|
||||||
function (path, $next) {
|
function (path, $next) {
|
||||||
tor.docker.run(TOR_IMAGE, [], null, { ExposedPorts: { '9050/tcp':{}, '9053/udp':{} } }, { Binds: [ path+':/etc/tor/torrc:ro' ] }, function (error, data, container) {
|
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();
|
container.remove();
|
||||||
}).on('container', (function (container) {
|
}).on('container', (function (container) {
|
||||||
var tor = this;
|
var tor = this;
|
||||||
|
|
Loading…
Reference in a new issue