Skip to content

Commit

Permalink
add bitcoin docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
imikushin committed Jan 30, 2025
1 parent 0d835ef commit 237d422
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions bitcoin/bitcoin.conf
Original file line number Diff line number Diff line change
@@ -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
16 changes: 16 additions & 0 deletions bitcoin/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit 237d422

Please sign in to comment.