diff --git a/bitcoin/bitcoin.conf b/bitcoin/bitcoin.conf new file mode 100644 index 0000000..1f475b0 --- /dev/null +++ b/bitcoin/bitcoin.conf @@ -0,0 +1,16 @@ +server=1 +txindex=1 +testnet4=1 +addresstype=bech32m +changetype=bech32m + +rest=1 +rpcallowip=0.0.0.0/0 +rpcallowip=::/0 + +[testnet4] +rpcbind=0.0.0.0 +rpcbind=:: + +rpcuser=hello +rpcpassword=world diff --git a/bitcoin/docker-compose.yml b/bitcoin/docker-compose.yml new file mode 100644 index 0000000..4240074 --- /dev/null +++ b/bitcoin/docker-compose.yml @@ -0,0 +1,16 @@ +services: + bitcoind: + image: lncm/bitcoind:v28.0 + command: + - -conf=/bitcoin.conf + container_name: bitcoind + volumes: + - bitcoin-data:/data/.bitcoin + - ./bitcoin.conf:/bitcoin.conf:ro + ports: + - "48333:48333" + - "48332:48332" + restart: unless-stopped + +volumes: + bitcoin-data: