Fix Tor issue on old deployments

This commit is contained in:
nicolas.dorier 2019-06-24 14:21:29 +09:00
parent b82d66d35d
commit bf4f104f59
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE
3 changed files with 3 additions and 0 deletions

1
Production-NoReverseProxy/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
torrc.tmpl

1
Production/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
torrc.tmpl

View File

@ -33,6 +33,7 @@ fi
. ./build.sh
if [ "$BTCPAYGEN_OLD_PREGEN" == "true" ]; then
cp Generated/docker-compose.generated.yml $BTCPAY_DOCKER_COMPOSE
cp Generated/torrc.tmpl "$(dirname "$BTCPAY_DOCKER_COMPOSE")/torrc.tmpl"
fi
if ! grep -Fxq "export COMPOSE_HTTP_TIMEOUT=\"180\"" "/etc/profile.d/btcpay-env.sh"; then