Skip to content

Latest commit

 

History

History
37 lines (19 loc) · 793 Bytes

README.md

File metadata and controls

37 lines (19 loc) · 793 Bytes

Bitcoin Core Dockerfile

Docker-compose commands

docker-compose build

docker-compose up [-d]

docker-compose down

Build time argument

Bitcoind release version

BITCOIN_VER: "0.15.1"

Run time variables

Username for JSON-RPC connections

RPCUSER: "user"

Password for JSON-RPC connections

RPCPASS: "pass"

Allow JSON-RPC connections from specified source. Valid a single IP (e.g. 1.2.3.4), a network/netmask (e.g. 1.2.3.4/255.255.255.0) or a network/CIDR (e.g. 1.2.3.4/24).

RPCALLOWIP: "127.0.0.1/8"

Bitcoind run-parameters can be added via docker CMD.

docker-compose.yml: command: -onlynet=ipv4 -testnet

docker run: docker run -it bitcoind_bitcoind -onlynet=ipv4 -testnet