aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/entrypoint.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/entrypoint.sh b/core/entrypoint.sh
index 1c15c2c..bbe05d6 100644
--- a/core/entrypoint.sh
+++ b/core/entrypoint.sh
@@ -80,9 +80,9 @@ fi
if [ "$ROUTE_TOR" = 1 ] || [ "$ROUTE_TOR" = 2 ]; then
cat > /etc/tor/torrc <<- EOF
Log notice stdout
-SocksPort 9050 # Default: Bind to localhost:9050 for local connections.
-MaxCircuitDirtiness 300
-CircuitBuildTimeout 300
+SocksPort ${TOR_PORT:-9050} # Default: Bind to localhost:9050 for local connections.
+MaxCircuitDirtiness ${MAX_CIRCUIT:-300}
+CircuitBuildTimeout ${CIRCUIT_TIMEOUT:-300}
ExcludeExitNodes {US}
StrictNodes 1
EOF