diff options
author | Jesús <heckyel@hyperbola.info> | 2021-07-01 21:54:23 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-07-01 21:54:23 -0500 |
commit | 1b102ab95f91f7358d0223d91324748a074e3d43 (patch) | |
tree | 00687d557cdc2f41134f0bdb93f1be3c645ee264 /core | |
parent | a05a0a0ce7c4a8110bcc2c16976723168c489c18 (diff) | |
download | yt-local-docker-1b102ab95f91f7358d0223d91324748a074e3d43.tar.lz yt-local-docker-1b102ab95f91f7358d0223d91324748a074e3d43.tar.xz yt-local-docker-1b102ab95f91f7358d0223d91324748a074e3d43.zip |
Add max and timeout variables to config.env.example
Diffstat (limited to 'core')
-rw-r--r-- | core/entrypoint.sh | 6 |
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 |