add testnet4 node docker compose

This commit is contained in:
f321x
2024-07-11 10:29:57 +00:00
parent 7b43389da4
commit 7f8866d414
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,15 @@
[testnet4]
server=1
txindex=1
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
rpcport=18332
# Authentication
rpcauth=
# generator: https://jlopp.github.io/bitcoin-core-rpc-auth-generator/
# Cookie file authentication
rpccookiefile=/home/user/.bitcoin/.cookie
# Increase the number of connections
maxconnections=15
# Set the maximum number of transactions to keep in the memory pool
maxmempool=300

View File

@ -0,0 +1,12 @@
services:
bitcoind:
image: mocacinno/btc_testnet4:latest
privileged: true
container_name: bitcoind
volumes:
- ./bitcoin_data:/root/.bitcoin/
command: ["bitcoind", "-testnet4"]
ports:
- "18332:18332"
- "8333:8333"
- "48332:48332"