Browse Source

Bump GRS C-lightning and add GRS LND (#252)

* Bump GRS lightning

* Add GRS LND and bump grs lightning
dcg-latest
gruve-p 5 years ago
committed by Nicolas Dorier
parent
commit
3edc722e42
  1. 2
      docker-compose-generator/docker-fragments/groestlcoin-clightning.yml
  2. 71
      docker-compose-generator/docker-fragments/groestlcoin-lnd.yml
  3. 3
      docker-compose-generator/src/CryptoDefinition.cs
  4. 1
      groestlcoin-lncli.ps1
  5. 3
      groestlcoin-lncli.sh

2
docker-compose-generator/docker-fragments/groestlcoin-clightning.yml

@ -2,7 +2,7 @@ version: "3"
services:
clightning_groestlcoin:
image: groestlcoin/lightning:v0.7.3
image: groestlcoin/lightning:v0.8.0
stop_signal: SIGKILL
container_name: btcpayserver_clightning_groestlcoin
restart: unless-stopped

71
docker-compose-generator/docker-fragments/groestlcoin-lnd.yml

@ -0,0 +1,71 @@
version: "3"
services:
lnd_groestlcoin:
image: groestlcoin/lnd:v0.8.2-grs
container_name: btcpayserver_lnd_groestlcoin
restart: unless-stopped
environment:
LND_CHAIN: "grs"
LND_EXTERNALIP: ${BTCPAY_ANNOUNCEABLE_HOST}
LND_PORT: 9736
LND_ALIAS: ${LIGHTNING_ALIAS}
LND_ENVIRONMENT: "${NBITCOIN_NETWORK:-regtest}"
LND_EXTRA_ARGS: |
restlisten=0.0.0.0:8080
rpclisten=127.0.0.1:10008
rpclisten=0.0.0.0:10009
groestlcoin.node=groestlcoind
groestlcoind.rpchost=groestlcoind:43782
groestlcoind.zmqpubrawblock=tcp://groestlcoind:21441
groestlcoind.zmqpubrawtx=tcp://groestlcoind:21441
adminmacaroonpath=/data/admin.macaroon
invoicemacaroonpath=/data/invoice.macaroon
readonlymacaroonpath=/data/readonly.macaroon
notls=1
ports:
- "9736:9736"
expose:
- "8080"
- "9736"
volumes:
- "lnd_groestlcoin_datadir:/data"
- "groestlcoin_datadir:/deps/.groestlcoin"
- "nbxplorer_datadir:/root/.nbxplorer"
links:
- groestlcoind
btcpayserver:
environment:
BTCPAY_GRSLIGHTNING: "type=lnd-rest;server=http://lnd_groestlcoin:8080/;macaroonfilepath=/etc/lnd_groestlcoin/admin.macaroon;allowinsecure=true"
BTCPAY_GRSEXTERNALLNDGRPC: "server=/;macaroonfilepath=/etc/lnd_groestlcoin/admin.macaroon;macaroondirectorypath=/etc/lnd_groestlcoin"
BTCPAY_GRSEXTERNALLNDREST: "server=/lnd-rest/grs/;macaroonfilepath=/etc/lnd_groestlcoin/admin.macaroon;macaroondirectorypath=/etc/lnd_groestlcoin"
BTCPAY_GRSEXTERNALLNDSEEDBACKUP: "/etc/lnd_groestlcoin/data/chain/groestlcoin/${NBITCOIN_NETWORK:-regtest}/walletunlock.json"
volumes:
- "lnd_groestlcoin_datadir:/etc/lnd_groestlcoin"
links:
- lnd_groestlcoin
groestlcoind:
environment:
BITCOIN_EXTRA_ARGS: |
zmqpubrawtx=tcp://0.0.0.0:21441
zmqpubrawblock=tcp://0.0.0.0:21441
zmqpubrawtxlock=tcp://0.0.0.0:21441
zmqpubhashblock=tcp://0.0.0.0:21441
expose:
- "21441"
nginx:
links:
- "lnd_groestlcoin"
volumes:
- "lnd_groestlcoin_datadir:/lnd"
nginx-gen:
links:
- "lnd_groestlcoin"
volumes:
- "lnd_groestlcoin_datadir:/lnd"
volumes:
lnd_groestlcoin_datadir:

3
docker-compose-generator/src/CryptoDefinition.cs

@ -26,7 +26,7 @@ namespace DockerGenerator
get;
private set;
}
public string EclairFragment
{
get;
@ -73,6 +73,7 @@ namespace DockerGenerator
Crypto = "grs",
CryptoFragment = "groestlcoin",
CLightningFragment = "groestlcoin-clightning",
LNDFragment = "groestlcoin-lnd"
},
new CryptoDefinition()
{

1
groestlcoin-lncli.ps1

@ -0,0 +1 @@
docker exec -ti btcpayserver_lnd_groestlcoin lncli $args

3
groestlcoin-lncli.sh

@ -0,0 +1,3 @@
#!/bin/bash
docker exec -ti btcpayserver_lnd_groestlcoin lncli "$@"
Loading…
Cancel
Save