mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
Add COMPOSE_HTTP_TIMEOUT at the next update
This commit is contained in:
parent
00abab4a36
commit
65094aa30b
@ -22,6 +22,11 @@ if [ "$BTCPAYGEN_OLD_PREGEN" == "true" ]; then
|
||||
cp Generated/docker-compose.generated.yml $BTCPAY_DOCKER_COMPOSE
|
||||
fi
|
||||
|
||||
if ! grep -Fxq "export COMPOSE_HTTP_TIMEOUT=\"180\"" "/etc/profile.d/btcpay-env.sh"; then
|
||||
echo "export COMPOSE_HTTP_TIMEOUT=\"180\"" >> /etc/profile.d/btcpay-env.sh
|
||||
export COMPOSE_HTTP_TIMEOUT=180
|
||||
echo "Adding COMPOSE_HTTP_TIMEOUT=180 in btcpay-env.sh"
|
||||
fi
|
||||
|
||||
for scriptname in *.sh; do
|
||||
if [ "$scriptname" == "build.sh" ] || \
|
||||
|
Loading…
Reference in New Issue
Block a user