1
0

allow to specify generator image when building

This commit is contained in:
Andrew Camilleri
2018-09-16 16:18:43 +02:00
parent 8c31236251
commit 7c59a96f43
3 changed files with 6 additions and 2 deletions

View File

@@ -87,6 +87,9 @@ if [ ! -z $BTCPAY_DOCKER_COMPOSE ] && [ ! -z $DOWNLOAD_ROOT ] && [ -z $BTCPAYGEN
if [[ $(dirname $BTCPAY_DOCKER_COMPOSE) == *Production ]]; then
BTCPAYGEN_REVERSEPROXY='nginx'
fi
if [[ $(dirname $BTCPAY_DOCKER_COMPOSE) == *Production-Traefik ]]; then
BTCPAYGEN_REVERSEPROXY='traefik'
fi
if [[ $(dirname $BTCPAY_DOCKER_COMPOSE) == *Production-NoReverseProxy ]]; then
BTCPAYGEN_REVERSEPROXY='none'