add c-lightning-rest for clightning-2 node
This commit is contained in:
parent
de120a1894
commit
2a52e7d1a7
2 changed files with 22 additions and 0 deletions
|
|
@ -1,5 +1,13 @@
|
|||

|
||||
|
||||
# nodes
|
||||
* lnd-1: for locally testing your current lnbits
|
||||
* lnd-2: used for boltz backend
|
||||
* lnd-3: used for lnbits inside docker
|
||||
* cln-1: for locally testing your current lnbits
|
||||
* cln-2: used for clightning-REST
|
||||
* eclair-1: for locally testing your current lnbits
|
||||
|
||||
# requirements
|
||||
* docker compose v2: https://docs.docker.com/compose/install/compose-plugin/
|
||||
* jq
|
||||
|
|
|
|||
|
|
@ -71,6 +71,20 @@ services:
|
|||
volumes:
|
||||
- ./data/clightning-2:/root/.lightning/
|
||||
|
||||
clightning-2-rest:
|
||||
hostname: clightning-2-rest
|
||||
depends_on:
|
||||
- clightning-2
|
||||
image: saubyk/c-lightning-rest:0.10.1
|
||||
entrypoint: "sh -c 'sleep 35 && /sbin/tini -g -- ./docker-entrypoint.sh'"
|
||||
ports:
|
||||
- 3001:3001
|
||||
expose:
|
||||
- 3001
|
||||
volumes:
|
||||
- ./data/clightning-2:/root/.lightning/:uid=1000,gid=1000
|
||||
- ./data/clightning-2-rest:/usr/src/app/certs/
|
||||
|
||||
lnd-1:
|
||||
hostname: lnd-1
|
||||
depends_on:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue