From 2e32b01d08b73ee47f346f0a8551756802b5feb4 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 22 May 2018 18:46:31 +0900 Subject: [PATCH] fix corner case of migration in old dockers --- btcpay-setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/btcpay-setup.sh b/btcpay-setup.sh index d47cb8e..bb2a275 100755 --- a/btcpay-setup.sh +++ b/btcpay-setup.sh @@ -136,6 +136,8 @@ if [ "$BTCPAYGEN_OLD_PREGEN" == "true" ]; then BTCPAY_DOCKER_COMPOSE="$(pwd)/Production/docker-compose.generated.yml" elif [[ $(dirname $BTCPAY_DOCKER_COMPOSE) == *Production-NoReverseProxy ]]; then BTCPAY_DOCKER_COMPOSE="$(pwd)/Production-NoReverseProxy/docker-compose.generated.yml" + else + BTCPAY_DOCKER_COMPOSE="$(pwd)/Production/docker-compose.generated.yml" fi else # new deployments must be in Generated BTCPAY_DOCKER_COMPOSE="$(pwd)/Generated/docker-compose.generated.yml"