mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 14:08:07 +00:00
Add automatic LND connection to BTCPay
This commit is contained in:
parent
6be7fc09d1
commit
61b3f7d7e5
|
@ -163,7 +163,7 @@ while true; do
|
|||
|
||||
cp -f /usr/share/btcpayserver/bitcoin.custom.yml /mnt/hdd/mynode/btcpayserver/btcpayserver-docker/docker-compose-generator/docker-fragments/bitcoin.custom.yml
|
||||
cp -f /usr/share/btcpayserver/lnd.custom.yml /mnt/hdd/mynode/btcpayserver/btcpayserver-docker/docker-compose-generator/docker-fragments/lnd.custom.yml
|
||||
|
||||
|
||||
rm -rf /usr/local/bin/btcpay-*
|
||||
rm -rf /usr/local/bin/changedomain.sh
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@ version: "3"
|
|||
services:
|
||||
btcpayserver:
|
||||
environment:
|
||||
BTCPAY_BTCLIGHTNING: "type=lnd-rest;server=http://host.docker.internal:8080/;macaroonfilepath=/etc/lnd_bitcoin/admin.macaroon;allowinsecure=true"
|
||||
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_BTCLIGHTNING: "type=lnd-rest;server=https://host.docker.internal:10080/;macaroonfilepath=/etc/lnd_bitcoin/data/chain/bitcoin/mainnet/admin.macaroon;allowinsecure=true"
|
||||
BTCPAY_BTCEXTERNALLNDGRPC: "server=/;macaroonfilepath=/etc/lnd_bitcoin/data/chain/bitcoin/mainnet/admin.macaroon;macaroondirectorypath=/etc/lnd_bitcoin/data/chain/bitcoin/mainnet"
|
||||
BTCPAY_BTCEXTERNALLNDREST: "server=/lnd-rest/btc/;macaroonfilepath=/etc/lnd_bitcoin/data/chain/bitcoin/mainnet/admin.macaroon;macaroondirectorypath=/etc/lnd_bitcoin/data/chain/bitcoin/mainnet"
|
||||
BTCPAY_BTCEXTERNALLNDSEEDBACKUP: "/etc/lnd_bitcoin/data/chain/bitcoin/${NBITCOIN_NETWORK:-regtest}/walletunlock.json"
|
||||
volumes:
|
||||
- "/mnt/hdd/mynode/lnd/data/chain/bitcoin/mainnet:/etc/lnd_bitcoin"
|
||||
- "/mnt/hdd/mynode/lnd:/etc/lnd_bitcoin"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:172.17.0.1"
|
Loading…
Reference in New Issue
Block a user