We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d2dd39 commit 9281425Copy full SHA for 9281425
bin/btc_init
@@ -11,6 +11,7 @@ if [ ! -e "$HOME/.bitcoin/bitcoin.conf" ]; then
11
12
# Seed a random password for JSON RPC server
13
cat <<EOF > $HOME/.bitcoin/bitcoin.conf
14
+regtest=${REGTEST:-0}
15
disablewallet=${DISABLEWALLET:-1}
16
printtoconsole=${PRINTTOCONSOLE:-1}
17
rpcuser=${RPCUSER:-bitcoinrpc}
docs/config.md
@@ -6,6 +6,7 @@ You can use environment variables to customize config ([see docker run environme
6
docker run -v bitcoind-data:/bitcoin/.bitcoin --name=bitcoind-node -d \
7
-p 8333:8333 \
8
-p 127.0.0.1:8332:8332 \
9
+ -e REGTEST=0 \
10
-e DISABLEWALLET=1 \
-e PRINTTOCONSOLE=1 \
-e RPCUSER=mysecretrpcuser \
0 commit comments