Skip to content

Commit f36cf65

Browse files
committed
bitcoind config tuning techniques
1 parent 167a4e6 commit f36cf65

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/config.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
bitcoind config tuning
2+
======================
3+
4+
You can use environment variables to customize config ([see docker run environment options](https://docs.docker.com/engine/reference/run/#/env-environment-variables)):
5+
6+
docker run -v bitcoind-data:/bitcoin --name=bitcoind-node -d \
7+
-p 8333:8333 \
8+
-p 127.0.0.1:8332:8332 \
9+
-e DISABLEWALLET=1 \
10+
-e PRINTTOCONSOLE=1 \
11+
-e RPCUSER=mysecretrpcuser \
12+
-e RPCPASSWORD=mysecretrpcpassword \
13+
kylemanna/bitcoind
14+
15+
Or you can use your very own config file like that:
16+
17+
docker run -v bitcoind-data:/bitcoin --name=bitcoind-node -d \
18+
-p 8333:8333 \
19+
-p 127.0.0.1:8332:8332 \
20+
-v /etc/mybitcoin.conf:/bitcoin/.bitcoin/bitcoin.conf \
21+
kylemanna/bitcoind

0 commit comments

Comments
 (0)