Open random-robbie opened 7 years ago
PR #10 is open for exactly that:
Since the repo owner of here hasn't merged #10 yet (and it's coming up on 6 monts), you may want to just use the fork that has the optional TOR configuration.
docker build https://github.com/djmaze/docker-tor-privoxy-alpine.git#allow-configuration
His updated README has your exact request as an example:
https://github.com/djmaze/docker-tor-privoxy-alpine/tree/allow-configuration
It is possible to define configuration options for the Tor daemon using env variables. Just define a variable prefixed with TOR_
, as shown in this example:
docker run -d -p 8118:8118 -p 9050:9050 -e TOR_ExitNodes="{de}" rdsubhas/tor-privoxy-alpine
The torrc
will now contain:
ExitNodes {de}
thank you for this!
Hi,
I wish to set a specific country for tor exit node how can i do this as i can not find torrc?