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:
Lakshya Singh
2023-11-15 08:48:29 +05:30
parent 3de4e116c9
commit a851c5c0d4
9 changed files with 22 additions and 20 deletions

View File

@@ -114,12 +114,12 @@ COPY --from=bitcoin-core ${BITCOIN_PREFIX}/bin/bitcoin-cli /usr/bin/bitcoin-cli
COPY --from=bitcoin-core ${BITCOIN_PREFIX}/bin/bitcoin-tx /usr/bin/bitcoin-tx
COPY --from=bitcoin-core ${BITCOIN_PREFIX}/bin/bitcoind /usr/bin/bitcoind
COPY bitcoind/entrypoint.sh /entrypoint.sh
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
COPY assets/bitcoin.conf /bitcoin.conf
COPY bitcoin.conf /bitcoin.conf
COPY bitcoind/healthcheck.sh /healthcheck.sh
COPY healthcheck.sh /healthcheck.sh
RUN chmod +x /healthcheck.sh
RUN mkdir "${BITCOIN_DATA}"

23
bitcoind/bitcoin.conf Normal file
View File

@@ -0,0 +1,23 @@
##
## bitcoin.conf configuration file. Lines beginning with # are comments.
##
server=1
rpcallowip=0.0.0.0/0
whitelist=0.0.0.0/0
txindex=1
blockfilterindex=1
[test]
rpcbind=0.0.0.0
rpcuser=rpcuser
rpcpassword=VLSsigner1
rpcport=18332
port=18333
[regtest]
rpcbind=0.0.0.0
rpcuser=rpcuser
rpcpassword=VLSsigner1
rpcport=38332
port=38333