dockerfile: all services standalone
- bitcoind - lightnind - txood - vlsd: already - update future work Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
@@ -118,12 +118,12 @@ RUN addgroup -S lightning && adduser -S lightning -G lightning && \
|
||||
mkdir -p ${LIGHTNINGD_DATA} && \
|
||||
chown -R lightning:lightning ${LIGHTNINGD_DATA}
|
||||
|
||||
COPY assets/bitcoin.conf "${BITCOIND_HOME}"/bitcoin.conf
|
||||
COPY bitcoin.conf "${BITCOIND_HOME}"/bitcoin.conf
|
||||
|
||||
COPY lightningd/entrypoint.sh /entrypoint.sh
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
COPY lightningd/healthcheck.sh /healthcheck.sh
|
||||
COPY healthcheck.sh /healthcheck.sh
|
||||
RUN chmod +x /healthcheck.sh
|
||||
|
||||
VOLUME ["${LIGHTNINGD_DATA}"]
|
||||
@@ -131,9 +131,9 @@ VOLUME ["${LIGHTNINGD_DATA}"]
|
||||
RUN mkdir -p "${BITCOIND_HOME}" && \
|
||||
chown -R lightning:lightning "${BITCOIND_HOME}"
|
||||
|
||||
COPY assets/bitcoin.conf "${BITCOIND_HOME}"/bitcoin.conf
|
||||
COPY assets/testnet-config /testnet-config
|
||||
COPY assets/regtest-config /regtest-config
|
||||
COPY bitcoin.conf "${BITCOIND_HOME}"/bitcoin.conf
|
||||
COPY testnet-config /testnet-config
|
||||
COPY regtest-config /regtest-config
|
||||
|
||||
USER lightning
|
||||
|
||||
|
||||
1
lightningd/bitcoin.conf
Symbolic link
1
lightningd/bitcoin.conf
Symbolic link
@@ -0,0 +1 @@
|
||||
../bitcoind/bitcoin.conf
|
||||
11
lightningd/regtest-config
Normal file
11
lightningd/regtest-config
Normal file
@@ -0,0 +1,11 @@
|
||||
network=regtest
|
||||
bitcoin-rpcuser=rpcuser
|
||||
bitcoin-rpcpassword=VLSsigner1
|
||||
bitcoin-rpcport=38332
|
||||
log-level=info
|
||||
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
|
||||
subdaemon=hsmd:remote_hsmd_socket
|
||||
11
lightningd/testnet-config
Normal file
11
lightningd/testnet-config
Normal file
@@ -0,0 +1,11 @@
|
||||
network=testnet
|
||||
bitcoin-rpcuser=rpcuser
|
||||
bitcoin-rpcpassword=VLSsigner1
|
||||
bitcoin-rpcport=18332
|
||||
log-level=info
|
||||
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
|
||||
subdaemon=hsmd:remote_hsmd_socket
|
||||
Reference in New Issue
Block a user