cln: add summars and monitor plugin
remove summary plugin archived update plugin repo to latest cln healthcheck don't use plugins rely to getinfo command Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
parent
50bebd3700
commit
74634931aa
4
.env
4
.env
@ -7,9 +7,9 @@ CORE_LIGHTNING_GIT_HASH=a2a136fe3ebef1d028d1e20ebf1f987b8c05bbf8
|
||||
# clboss version v0.13.1
|
||||
CLBOSS_REPO=https://github.com/ZmnSCPxj/clboss.git
|
||||
CLBOSS_GIT_HASH=e4f15b6aeccc0548b8c80f7948d2265111c4e9c5
|
||||
# cln plugins
|
||||
# cln plugins (2024-06-06 17:02:52 +0200)
|
||||
CLN_PLUGINS_REPO=https://github.com/lightningd/plugins.git
|
||||
CLN_PLUGINS_GIT_HASH=a525e6c42033a6270c81065a559301ceb2a761fa
|
||||
CLN_PLUGINS_GIT_HASH=de0c7af343df25e82536233ac248ef46efea8670
|
||||
# txoo version 0.6.4
|
||||
TXOO_REPO=https://gitlab.com/lightning-signer/txoo.git
|
||||
TXOO_GIT_HASH=6f0718e3f2b9406df5e3cd73306f473199141da0
|
||||
|
@ -44,7 +44,13 @@ ARG CLN_PLUGINS_GIT_HASH \
|
||||
CLN_PLUGINS_REPO
|
||||
RUN git clone $CLN_PLUGINS_REPO
|
||||
RUN cd plugins && \
|
||||
git checkout $CLN_PLUGINS_GIT_HASH
|
||||
git checkout $CLN_PLUGINS_GIT_HASH && \
|
||||
git submodule update --init --recursive
|
||||
|
||||
# Build summars plugin
|
||||
RUN cd plugins/summars && \
|
||||
cargo install --locked --path . --bin summars --profile release --root /usr/local/ && \
|
||||
cargo clean
|
||||
|
||||
FROM --platform=${TARGETPLATFORM:-${BUILDPLATFORM:-linux/amd64}} alpine:3.18 as clboss_builder
|
||||
|
||||
@ -134,7 +140,8 @@ COPY --from=builder /usr/libexec/c-lightning /usr/libexec/c-lightning
|
||||
COPY --from=builder /usr/share/man/man8 /usr/share/man/man8
|
||||
COPY --from=builder /usr/share/doc/c-lightning /usr/share/doc/c-lightning
|
||||
COPY --from=clboss_builder /usr/bin/clboss /usr/bin/clboss
|
||||
COPY --from=builder /build/plugins/archived/summary /usr/local/src/plugins/summary
|
||||
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=vls_builder /usr/local/bin/remote_hsmd_socket /usr/libexec/c-lightning/remote_hsmd_socket
|
||||
|
||||
RUN addgroup -S lightning && adduser -S lightning -G lightning && \
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
set -ex
|
||||
|
||||
lightning-cli --network $VLS_NETWORK summary
|
||||
lightning-cli --network $VLS_NETWORK getinfo
|
||||
|
@ -7,6 +7,7 @@ max-locktime-blocks=288
|
||||
important-plugin=/usr/bin/clboss
|
||||
clboss-auto-close=true
|
||||
bind-addr=0.0.0.0:19846
|
||||
plugin=/usr/local/src/plugins/summary/summary.py
|
||||
plugin=/usr/local/src/plugins/summars
|
||||
plugin=/usr/local/src/plugins/monitor.py
|
||||
subdaemon=hsmd:remote_hsmd_socket
|
||||
experimental-anchors
|
||||
experimental-anchors
|
||||
|
@ -7,6 +7,7 @@ max-locktime-blocks=288
|
||||
important-plugin=/usr/bin/clboss
|
||||
clboss-auto-close=true
|
||||
bind-addr=0.0.0.0:19735
|
||||
plugin=/usr/local/src/plugins/summary/summary.py
|
||||
plugin=/usr/local/src/plugins/summars
|
||||
plugin=/usr/local/src/plugins/monitor.py
|
||||
subdaemon=hsmd:remote_hsmd_socket
|
||||
experimental-anchors
|
||||
experimental-anchors
|
||||
|
Loading…
x
Reference in New Issue
Block a user