From ba25d9e4306537a89ef22de1b0c35ec3976cd146 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Sat, 12 Aug 2023 12:03:23 -0400 Subject: [PATCH] Fix --announce-addr in btcpayserver. --- btcpayserver/stub_btcpay_setup.sh | 7 ++----- www/go.sh | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/btcpayserver/stub_btcpay_setup.sh b/btcpayserver/stub_btcpay_setup.sh index e6ca141..235b80b 100755 --- a/btcpayserver/stub_btcpay_setup.sh +++ b/btcpayserver/stub_btcpay_setup.sh @@ -50,7 +50,7 @@ fi cd btcpayserver-docker export BTCPAY_HOST="${BTCPAY_USER_FQDN}" -export BTCPAY_ANNOUNCEABLE_HOST="${DOMAIN_NAME}" +export BTCPAY_ANNOUNCEABLE_HOST="${BTCPAY_USER_FQDN}" export NBITCOIN_NETWORK="${BITCOIN_CHAIN}" export LIGHTNING_ALIAS="${PRIMARY_DOMAIN}" export BTCPAYGEN_LIGHTNING="clightning" @@ -77,13 +77,10 @@ services: clightning_bitcoin: environment: LIGHTNINGD_OPT: | - #announce-addr=${BTCPAY_USER_FQDN} - #announce-addr-dns=true + announce-addr-dns=true experimental-websocket-port=9736 experimental-peer-storage experimental-offers - #experimental-dual-fund - #experimental-onion-messages ports: - "${CLIGHTNING_WEBSOCKET_PORT}:9736" expose: diff --git a/www/go.sh b/www/go.sh index 171df48..2dd37fc 100755 --- a/www/go.sh +++ b/www/go.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -exu +set -eu cd "$(dirname "$0")" # Create the nginx config file which covers all domainys.