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:
@@ -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
23
bitcoind/bitcoin.conf
Normal 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
|
||||
Reference in New Issue
Block a user