File tree Expand file tree Collapse file tree 2 files changed +25
-8
lines changed Expand file tree Collapse file tree 2 files changed +25
-8
lines changed Original file line number Diff line number Diff line change 1- ARG CLN_VERSION="24.02.2 "
1+ ARG CLN_VERSION="24.08.1 "
22
33FROM elementsproject/lightningd:v${CLN_VERSION}
44
@@ -24,14 +24,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2424 python3 -m pip install --upgrade pip
2525
2626COPY . /tmp/plugins
27- RUN mkdir /tmp/oldplugins && mv /usr/local/libexec/c-lightning/plugins/* /tmp/oldplugins/ && \
28- cd /usr/local/libexec/c-lightning/plugins && \
29- git clone --depth 1 --shallow-submodules -j4 \
30- ${EXTRA_PLUGINS} \
31- file:///tmp/plugins . && \
32- pip3 install setuptools && \
27+
28+ RUN mkdir /tmp/plugins-enabled/ && cd /tmp/plugins && \
29+ git submodule update --init --recursive && pip3 install setuptools && \
3330 find -name requirements.txt -print0 | xargs -0 -n 1 pip3 install -r && \
34- mv /tmp/oldplugins/* /usr/local/libexec/c-lightning/plugins && rmdir /tmp/oldplugins
31+ ls */ && \
32+ for plgn in `find . -type f | grep -E '/([^/]+)/\1\. py$' |grep -Ev 'archived|backup|donations|qt' `; do \
33+ cd /tmp/plugins-enabled && \
34+ ln -s /tmp/plugins/${plgn}; \
35+ done
3536
3637EXPOSE 9735 9835
3738ENTRYPOINT [ "/usr/bin/tini" , "-g" , "--" , "./entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -171,6 +171,22 @@ Python plugins users must ensure to have a version `>= 3.8`.
171171Python plugins developers must ensure their plugin to work with all Python versions ` >= 3.8 ` .
172172
173173
174+ ### ` docker `
175+
176+ #### Choosing a bitcoin network
177+ Edit your config file, ` $HOME/.bitcoin/bitcoin.conf ` , and be sure the following line is in it:
178+ ```
179+ <network_name>=1
180+ ```
181+
182+ | network | network\_ name | command |
183+ | -----------| ---------------| ---------|
184+ | bitcoin | bitcoin | ` docker run -it --rm --network=host -v $HOME/.lightning:/root/.lightning -v $HOME/.bitcoin:/root/.bitcoin mycln-plugins --disable-plugin=bcli --log-level=debug --database-upgrade=true --sauron-api-endpoint https://blockstream.info/api/ ` |
185+ | mutinynet | signet | ` docker run -it --rm --network=host -v $HOME/.lightning:/root/.lightning -v $HOME/.bitcoin:/root/.bitcoin -e LIGHTNINGD_NETWORK=signet mycln-plugins --signet --disable-plugin=bcli --log-level=debug --database-upgrade=true --sauron-api-endpoint https://mutinynet.com/api/ ` |
186+ | testnet | testnet | ` docker run -it --rm --network=host -v $HOME/.lightning:/root/.lightning -v $HOME/.bitcoin:/root/.bitcoin -e LIGHTNINGD_NETWORK=testnet mycln-plugins --testnet --disable-plugin=bcli --log-level=debug --database-upgrade=true --sauron-api-endpoint https://mempool.space/testnet/api ` |
187+
188+
189+
174190## More Plugins from the Community
175191
176192 - [ @conscott 's plugins] ( https://github.com/conscott/c-lightning-plugins )
You can’t perform that action at this time.
0 commit comments