mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2025-12-18 05:24:21 +01:00
start c-lightning integration for grs
This commit is contained in:
@@ -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:
|
||||||
@@ -64,7 +64,8 @@ namespace DockerGenerator
|
|||||||
new CryptoDefinition()
|
new CryptoDefinition()
|
||||||
{
|
{
|
||||||
Crypto = "grs",
|
Crypto = "grs",
|
||||||
CryptoFragment = "groestlcoin"
|
CryptoFragment = "groestlcoin",
|
||||||
|
CLightningFragment = "groestlcoin-clightning",
|
||||||
},
|
},
|
||||||
new CryptoDefinition()
|
new CryptoDefinition()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user