Fix --announce-addr in btcpayserver.

This commit is contained in:
Derek Smith 2023-08-12 12:03:23 -04:00
parent 88d6299df0
commit ba25d9e430
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
2 changed files with 3 additions and 6 deletions

View File

@ -50,7 +50,7 @@ fi
cd btcpayserver-docker cd btcpayserver-docker
export BTCPAY_HOST="${BTCPAY_USER_FQDN}" 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 NBITCOIN_NETWORK="${BITCOIN_CHAIN}"
export LIGHTNING_ALIAS="${PRIMARY_DOMAIN}" export LIGHTNING_ALIAS="${PRIMARY_DOMAIN}"
export BTCPAYGEN_LIGHTNING="clightning" export BTCPAYGEN_LIGHTNING="clightning"
@ -77,13 +77,10 @@ services:
clightning_bitcoin: clightning_bitcoin:
environment: environment:
LIGHTNINGD_OPT: | LIGHTNINGD_OPT: |
#announce-addr=${BTCPAY_USER_FQDN} announce-addr-dns=true
#announce-addr-dns=true
experimental-websocket-port=9736 experimental-websocket-port=9736
experimental-peer-storage experimental-peer-storage
experimental-offers experimental-offers
#experimental-dual-fund
#experimental-onion-messages
ports: ports:
- "${CLIGHTNING_WEBSOCKET_PORT}:9736" - "${CLIGHTNING_WEBSOCKET_PORT}:9736"
expose: expose:

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
set -exu set -eu
cd "$(dirname "$0")" cd "$(dirname "$0")"
# Create the nginx config file which covers all domainys. # Create the nginx config file which covers all domainys.