cln: install clnrest dependencies
expose clnrest port to outside by default Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
parent
74634931aa
commit
d254b95cbe
@ -43,6 +43,8 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- 19735
|
- 19735
|
||||||
- 7701
|
- 7701
|
||||||
|
ports:
|
||||||
|
- 3010:3010
|
||||||
networks:
|
networks:
|
||||||
- lightning
|
- lightning
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -143,6 +143,7 @@ COPY --from=clboss_builder /usr/bin/clboss /usr/bin/clboss
|
|||||||
COPY --from=builder /build/plugins/monitor/monitor.py /usr/local/src/plugins/monitor.py
|
COPY --from=builder /build/plugins/monitor/monitor.py /usr/local/src/plugins/monitor.py
|
||||||
COPY --from=builder /usr/local/bin/summars /usr/local/src/plugins/summars
|
COPY --from=builder /usr/local/bin/summars /usr/local/src/plugins/summars
|
||||||
COPY --from=vls_builder /usr/local/bin/remote_hsmd_socket /usr/libexec/c-lightning/remote_hsmd_socket
|
COPY --from=vls_builder /usr/local/bin/remote_hsmd_socket /usr/libexec/c-lightning/remote_hsmd_socket
|
||||||
|
COPY --from=builder /build/core-lightning/plugins/clnrest/requirements.txt /usr/local/src/plugins/clnrest_requirements.txt
|
||||||
|
|
||||||
RUN addgroup -S lightning && adduser -S lightning -G lightning && \
|
RUN addgroup -S lightning && adduser -S lightning -G lightning && \
|
||||||
mkdir -p ${LIGHTNINGD_DATA} && \
|
mkdir -p ${LIGHTNINGD_DATA} && \
|
||||||
@ -172,6 +173,8 @@ RUN pip3 install \
|
|||||||
requests \
|
requests \
|
||||||
packaging
|
packaging
|
||||||
|
|
||||||
|
RUN pip3 install -r /usr/local/src/plugins/clnrest_requirements.txt
|
||||||
|
|
||||||
HEALTHCHECK --interval=5s --timeout=10s --start-period=5s \
|
HEALTHCHECK --interval=5s --timeout=10s --start-period=5s \
|
||||||
CMD ["/healthcheck.sh"]
|
CMD ["/healthcheck.sh"]
|
||||||
|
|
||||||
|
@ -11,3 +11,4 @@ plugin=/usr/local/src/plugins/summars
|
|||||||
plugin=/usr/local/src/plugins/monitor.py
|
plugin=/usr/local/src/plugins/monitor.py
|
||||||
subdaemon=hsmd:remote_hsmd_socket
|
subdaemon=hsmd:remote_hsmd_socket
|
||||||
experimental-anchors
|
experimental-anchors
|
||||||
|
clnrest-port=3010
|
||||||
|
@ -11,3 +11,4 @@ plugin=/usr/local/src/plugins/summars
|
|||||||
plugin=/usr/local/src/plugins/monitor.py
|
plugin=/usr/local/src/plugins/monitor.py
|
||||||
subdaemon=hsmd:remote_hsmd_socket
|
subdaemon=hsmd:remote_hsmd_socket
|
||||||
experimental-anchors
|
experimental-anchors
|
||||||
|
clnrest-port=3010
|
||||||
|
Loading…
x
Reference in New Issue
Block a user