chore: config assets for multiple chains
- lightning config - env vars - bitcoin.conf for different networks - copy configs in lightningd repo Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
@@ -97,6 +97,8 @@ RUN mkdir -p "${BITCOIND_HOME}" && \
|
||||
|
||||
COPY assets/bitcoin.conf "${BITCOIND_HOME}"/bitcoin.conf
|
||||
COPY assets/testnet-config /testnet-config
|
||||
COPY assets/regtest-config /regtest-config
|
||||
COPY assets/main-config /main-config
|
||||
|
||||
USER lightning
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
set -e
|
||||
|
||||
cp -u /testnet-config ${LIGHTNINGD_DATA}/testnet-config
|
||||
cp -u /regtest-config ${LIGHTNINGD_DATA}/regtest-config
|
||||
cp -u /main-config ${LIGHTNINGD_DATA}/main-config
|
||||
|
||||
export GREENLIGHT_VERSION=$(lightningd --version)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user