1
0

Add BTCPAY_LIGHTNING_HOST (Fix #845)

This commit is contained in:
nicolas.dorier
2023-11-21 11:09:37 +09:00
parent 21b68be6b0
commit f2a1dc57d7
3 changed files with 7 additions and 0 deletions

View File

@@ -66,6 +66,9 @@ btcpay_expand_variables() {
if [[ "$BTCPAY_HOST" != *.local ]] && [[ "$BTCPAY_HOST" != *.lan ]]; then
BTCPAY_ANNOUNCEABLE_HOST="$BTCPAY_HOST"
fi
if [[ "$BTCPAY_LIGHTNING_HOST" ]]; then
BTCPAY_ANNOUNCEABLE_HOST="$BTCPAY_LIGHTNING_HOST"
fi
}
# Set .env file
@@ -94,6 +97,7 @@ fi
echo "
BTCPAY_PROTOCOL=$BTCPAY_PROTOCOL
BTCPAY_HOST=$BTCPAY_HOST
BTCPAY_LIGHTNING_HOST=$BTCPAY_LIGHTNING_HOST
BTCPAY_ADDITIONAL_HOSTS=$BTCPAY_ADDITIONAL_HOSTS
BTCPAY_ANNOUNCEABLE_HOST=$BTCPAY_ANNOUNCEABLE_HOST
REVERSEPROXY_HTTP_PORT=$REVERSEPROXY_HTTP_PORT