add c-lightning-rest for clightning-2 node

This commit is contained in:
dni ⚡ 2023-03-07 10:42:44 +01:00
commit 2a52e7d1a7
No known key found for this signature in database
GPG key ID: 886317704CC4E618
2 changed files with 22 additions and 0 deletions

View file

@ -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: