mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2025-12-19 10:04:20 +01:00
add grs spark support
This commit is contained in:
@@ -323,6 +323,11 @@ server {
|
|||||||
proxy_pass http://clightning_bitcoin_spark:9737/;
|
proxy_pass http://clightning_bitcoin_spark:9737/;
|
||||||
}
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if (eq $serviceName "clightning_groestlcoin_spark") }}
|
||||||
|
location /spark/btc/ {
|
||||||
|
proxy_pass http://clightning_groestlcoin_spark:9739/;
|
||||||
|
}
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -31,9 +31,26 @@ services:
|
|||||||
btcpayserver:
|
btcpayserver:
|
||||||
environment:
|
environment:
|
||||||
BTCPAY_GRSLIGHTNING: "type=clightning;server=unix://etc/clightning_groestlcoin/lightning-rpc"
|
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"
|
||||||
volumes:
|
volumes:
|
||||||
- "clightning_groestlcoin_datadir:/etc/clightning_groestlcoin"
|
- "clightning_groestlcoin_datadir:/etc/clightning_groestlcoin"
|
||||||
|
- "clightning_groestlcoin_spark:/etc/groestlcoin_spark"
|
||||||
links:
|
links:
|
||||||
- clightning_groestlcoin
|
- clightning_groestlcoin
|
||||||
|
clightning_groestlcoin_spark:
|
||||||
|
image: shesek/spark-wallet:0.2.0-WIP
|
||||||
|
stop_signal: SIGKILL
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||||
|
SPARK_OPT: --no-tls -C /data/.cookie
|
||||||
|
volumes:
|
||||||
|
- "clightning_groestlcoin_datadir:/etc/lightning"
|
||||||
|
- "clightning_groestlcoin_spark:/data"
|
||||||
|
links:
|
||||||
|
- clightning_groestlcoin
|
||||||
|
expose:
|
||||||
|
- "9739"
|
||||||
volumes:
|
volumes:
|
||||||
clightning_groestlcoin_datadir:
|
clightning_groestlcoin_datadir:
|
||||||
|
clightning_groestlcoin_spark:
|
||||||
|
|||||||
Reference in New Issue
Block a user