1
0

Bumping to v0.12.1-beta container and enabling Loop usage (#450)

* Bumping to v0.12.1-beta container and enabling Loop usage

* Adding environment variables for rest listen and loop

* Starting lnd listeners on specific host

* Restoring tlsextradomain and fixing bitcoin-lnd.yml params

* Adding tool to recreate tls certificate in LND container

* Using new version of LND 0.12.1-beta container with 15s wait

* Tool will restart only LND container

* Updating README file with appropriate version of LND

Co-authored-by: rockstardev <rockstardev@users.noreply.github.com>
This commit is contained in:
rockstardev
2021-04-28 04:37:12 -05:00
committed by GitHub
parent e26733a869
commit 9cfcbc943c
3 changed files with 30 additions and 6 deletions

16
Tools/lnd_delete_tls.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
set -e
read -p "This script will delete LND's TLS certificate, so that's it's recreated on restart. Please keep in mind that you'll need to update external connections to LND that depend on TLS cert. Type 'yes' to confirm you want to proceed`echo $'\n> '`" yn
if [ $yn != "yes" ]; then
exit 0
fi
docker exec btcpayserver_lnd_bitcoin rm -rf /root/.lnd/tls.cert
docker exec btcpayserver_lnd_bitcoin rm -rf /root/.lnd/tls.key
docker stop btcpayserver_lnd_bitcoin
docker start btcpayserver_lnd_bitcoin
echo "LND TLS certificate recreated"