Browse Source

start c-lightning integration for grs

feature/auto_ssh
Andrew Camilleri 6 years ago
parent
commit
52f1f0fa3c
  1. 38
      docker-compose-generator/docker-fragments/groestlcoin-clightning.yml
  2. 3
      docker-compose-generator/src/CryptoDefinition.cs

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

@ -0,0 +1,38 @@
version: "3"
services:
clightning_groestlcoin:
image: kukks/grs-clightning:latest
stop_signal: SIGKILL
container_name: btcpayserver_clightning_groestlcoin
restart: unless-stopped
environment:
LIGHTNINGD_NETWORK: ${NBITCOIN_NETWORK:-regtest}
LIGHTNINGD_CHAIN: grs
LIGHTNINGD_EXPLORERURL: "http://nbxplorer:32838/"
LIGHTNINGD_OPT: |
bitcoin-datadir=/etc/groestlcoin
bitcoin-rpcconnect=groestlcoind
announce-addr=${BTCPAY_HOST}:9737
bind-addr=0.0.0.0:9735
network=${NBITCOIN_NETWORK:-regtest}
alias=${LIGHTNING_ALIAS}
chain=grs
volumes:
- "clightning_bitcoin_datadir:/root/.lightning"
- "bitcoin_datadir:/etc/bitcoin"
- "nbxplorer_datadir:/root/.nbxplorer"
ports:
- "9737:9737"
links:
- nbxplorer
- groestlcoind
btcpayserver:
environment:
BTCPAY_GRSLIGHTNING: "type=clightning;server=unix://etc/clightning_groestlcoin/lightning-rpc"
volumes:
- "clightning_groestlcoin_datadir:/etc/clightning_groestlcoin"
links:
- clightning_groestlcoin
volumes:
clightning_groestlcoin_datadir:

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

@ -64,7 +64,8 @@ namespace DockerGenerator
new CryptoDefinition()
{
Crypto = "grs",
CryptoFragment = "groestlcoin"
CryptoFragment = "groestlcoin",
CLightningFragment = "groestlcoin-clightning",
},
new CryptoDefinition()
{

Loading…
Cancel
Save