mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-28 12:22:29 +02:00
Fix Tor issue on old deployments
This commit is contained in:
parent
b82d66d35d
commit
bf4f104f59
1
Production-NoReverseProxy/.gitignore
vendored
Normal file
1
Production-NoReverseProxy/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
torrc.tmpl
|
1
Production/.gitignore
vendored
Normal file
1
Production/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
torrc.tmpl
|
@ -33,6 +33,7 @@ fi
|
|||||||
. ./build.sh
|
. ./build.sh
|
||||||
if [ "$BTCPAYGEN_OLD_PREGEN" == "true" ]; then
|
if [ "$BTCPAYGEN_OLD_PREGEN" == "true" ]; then
|
||||||
cp Generated/docker-compose.generated.yml $BTCPAY_DOCKER_COMPOSE
|
cp Generated/docker-compose.generated.yml $BTCPAY_DOCKER_COMPOSE
|
||||||
|
cp Generated/torrc.tmpl "$(dirname "$BTCPAY_DOCKER_COMPOSE")/torrc.tmpl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! grep -Fxq "export COMPOSE_HTTP_TIMEOUT=\"180\"" "/etc/profile.d/btcpay-env.sh"; then
|
if ! grep -Fxq "export COMPOSE_HTTP_TIMEOUT=\"180\"" "/etc/profile.d/btcpay-env.sh"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user