Nicolas Dorier
6 years ago
committed by
GitHub
5 changed files with 91 additions and 1 deletions
@ -0,0 +1,73 @@ |
|||
version: "3" |
|||
|
|||
services: |
|||
clightning_groestlcoin: |
|||
image: groestlcoin/lightning:v0.6.2-2 |
|||
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 |
|||
bitcoin-rpcport=43782 |
|||
log-level=debug |
|||
announce-addr=${BTCPAY_HOST}:9738 |
|||
bind-addr=0.0.0.0:9735 |
|||
network=${NBITCOIN_NETWORK:-regtest} |
|||
alias=${LIGHTNING_ALIAS} |
|||
volumes: |
|||
- "clightning_groestlcoin_datadir:/root/.lightning" |
|||
- "groestlcoin_datadir:/etc/groestlcoin" |
|||
- "nbxplorer_datadir:/root/.nbxplorer" |
|||
ports: |
|||
- "9738:9735" |
|||
links: |
|||
- nbxplorer |
|||
- groestlcoind |
|||
clightning_groestlcoin_charge: |
|||
image: groestlcoin/groestlcoin-lightning-charge:version-0.4.6 |
|||
restart: unless-stopped |
|||
environment: |
|||
NETWORK: ${NBITCOIN_NETWORK:-regtest} |
|||
COOKIE_FILE: /data/.cookie |
|||
URL: ${BTCPAY_ROOTPATH:-/}lightning-charge/grs/ |
|||
volumes: |
|||
- "clightning_groestlcoin_datadir:/etc/lightning" |
|||
- "clightning_groestlcoin_charge:/data" |
|||
expose: |
|||
- "9112" |
|||
links: |
|||
- clightning_groestlcoin |
|||
btcpayserver: |
|||
environment: |
|||
BTCPAY_GRSLIGHTNING: "type=clightning;server=unix://etc/clightning_groestlcoin/lightning-rpc" |
|||
BTCPAY_GRSEXTERNALSPARK: "server=${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}${BTCPAY_ROOTPATH:-/}spark/grs;cookiefile=/etc/clightning_groestlcoin_spark/.cookie" |
|||
BTCPAY_GRSEXTERNALCHARGE: "server=${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}${BTCPAY_ROOTPATH:-/}lightning-charge/grs/;cookiefilepath=/etc/clightning_groestlcoin_charge/.cookie" |
|||
volumes: |
|||
- "clightning_groestlcoin_datadir:/etc/clightning_groestlcoin" |
|||
- "clightning_groestlcoin_spark:/etc/clightning_groestlcoin_spark" |
|||
- "clightning_groestlcoin_charge:/etc/clightning_groestlcoin_charge" |
|||
links: |
|||
- clightning_groestlcoin |
|||
clightning_groestlcoin_spark: |
|||
image: groestlcoin/groestlcoin-spark:version-0.2.2 |
|||
stop_signal: SIGKILL |
|||
restart: unless-stopped |
|||
environment: |
|||
NETWORK: ${NBITCOIN_NETWORK:-regtest} |
|||
SPARK_OPT: --no-tls --port 9739 -C /data/.cookie |
|||
volumes: |
|||
- "clightning_groestlcoin_datadir:/etc/lightning" |
|||
- "clightning_groestlcoin_spark:/data" |
|||
links: |
|||
- clightning_groestlcoin |
|||
expose: |
|||
- "9739" |
|||
volumes: |
|||
clightning_groestlcoin_datadir: |
|||
clightning_groestlcoin_charge: |
|||
clightning_groestlcoin_spark: |
@ -0,0 +1 @@ |
|||
docker exec -ti btcpayserver_clightning_groestlcoin lightning-cli $args |
@ -0,0 +1,3 @@ |
|||
#!/bin/bash |
|||
|
|||
docker exec -ti btcpayserver_clightning_groestlcoin lightning-cli "$@" |
Loading…
Reference in new issue