1
0

LND Seed Backup (#234)

* Preparing for testing of LND Seed Backup

* Adding variable with path to walletunlock file

* Recreating Bitcoin LND container

* Bumping btcpayserver reference to next version 1.0.3.138

* Fixing text per suggestion
This commit is contained in:
Rockstar Developer
2019-11-16 04:27:37 -06:00
committed by Nicolas Dorier
parent 852d7ac066
commit f608a237bd
4 changed files with 31 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ version: "3"
services:
lnd_bitcoin:
image: btcpayserver/lnd:v0.7.1-beta
image: btcpayserver/lnd:v0.7.1-beta-withseed
container_name: btcpayserver_lnd_bitcoin
restart: unless-stopped
environment:
@@ -25,7 +25,6 @@ services:
adminmacaroonpath=/data/admin.macaroon
invoicemacaroonpath=/data/invoice.macaroon
readonlymacaroonpath=/data/readonly.macaroon
noseedbackup=1
notls=1
ports:
- "9735:9735"
@@ -64,6 +63,7 @@ services:
BTCPAY_BTCEXTERNALRTL: "server=/rtl/api/authenticate/cookie;cookiefile=/etc/lnd_bitcoin_rtl/.cookie"
BTCPAY_BTCEXTERNALLNDGRPC: "server=/;macaroonfilepath=/etc/lnd_bitcoin/admin.macaroon;macaroondirectorypath=/etc/lnd_bitcoin"
BTCPAY_BTCEXTERNALLNDREST: "server=/lnd-rest/btc/;macaroonfilepath=/etc/lnd_bitcoin/admin.macaroon;macaroondirectorypath=/etc/lnd_bitcoin"
BTCPAY_BTCEXTERNALLNDSEEDBACKUP: "/etc/lnd_bitcoin/data/chain/bitcoin/${NBITCOIN_NETWORK:-regtest}/walletunlock.json"
volumes:
- "lnd_bitcoin_datadir:/etc/lnd_bitcoin"
- "lnd_bitcoin_rtl_datadir:/etc/lnd_bitcoin_rtl"

View File

@@ -4,7 +4,7 @@ services:
btcpayserver:
restart: unless-stopped
image: ${BTCPAY_IMAGE:-btcpayserver/btcpayserver:1.0.3.137}
image: ${BTCPAY_IMAGE:-btcpayserver/btcpayserver:1.0.3.138}
expose:
- "49392"
environment:

View File

@@ -2,7 +2,7 @@ version: "3"
services:
lnd_litecoin:
image: btcpayserver/lnd:v0.7.1-beta
image: btcpayserver/lnd:v0.7.1-beta-withseed
container_name: btcpayserver_lnd_litecoin
restart: unless-stopped
environment:
@@ -23,7 +23,6 @@ services:
adminmacaroonpath=/data/admin.macaroon
invoicemacaroonpath=/data/invoice.macaroon
readonlymacaroonpath=/data/readonly.macaroon
noseedbackup=1
notls=1
ports:
- "9736:9736"
@@ -40,6 +39,7 @@ services:
btcpayserver:
environment:
BTCPAY_LTCLIGHTNING: "type=lnd-rest;server=http://lnd_litecoin:8080/;macaroonfilepath=/etc/lnd_litecoin/admin.macaroon;allowinsecure=true"
BTCPAY_LTCEXTERNALLNDSEEDBACKUP: "/etc/lnd_litecoin/data/chain/litecoin/${NBITCOIN_NETWORK:-regtest}/walletunlock.json"
volumes:
- "lnd_litecoin_datadir:/etc/lnd_litecoin"
links: