diff --git a/docker-compose-generator/docker-fragments/groestlcoin-clightning.yml b/docker-compose-generator/docker-fragments/groestlcoin-clightning.yml new file mode 100644 index 0000000..072b4a7 --- /dev/null +++ b/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: \ No newline at end of file diff --git a/docker-compose-generator/src/CryptoDefinition.cs b/docker-compose-generator/src/CryptoDefinition.cs index 4e6f387..ef99dea 100644 --- a/docker-compose-generator/src/CryptoDefinition.cs +++ b/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() {