Update websocket bind config item

This commit is contained in:
Derek Smith 2024-10-06 15:59:22 -04:00
parent 867a625a68
commit 32a3ffa6b7

View File

@ -72,9 +72,18 @@ services:
environment: environment:
LIGHTNINGD_OPT: | LIGHTNINGD_OPT: |
announce-addr-dns=true announce-addr-dns=true
experimental-websocket-port=9736 bind-addr=ws::9736
experimental-peer-storage experimental-peer-storage
experimental-offers experimental-offers
EOL
# if [ "$DEPLOY_CLBOSS_PLUGIN" = true ]; then
# cat >> "$SITE_PATH/btcpay.sh" <<EOL
# plugin=/root/.lightning/plugins/clboss
# EOL
# fi
cat >> "$SITE_PATH/btcpay.sh" <<EOL
ports: ports:
- "${CLIGHTNING_WEBSOCKET_PORT}:9736" - "${CLIGHTNING_WEBSOCKET_PORT}:9736"
expose: expose:
@ -82,7 +91,6 @@ services:
EOF EOF
# run the setup script. # run the setup script.
. ./btcpay-setup.sh -i . ./btcpay-setup.sh -i