Blockbook image build from the Blockbook source code
489
Blockbook image build from the Blockbook source code
All available environment variables are:
| Environment Variable | Example Value | Required | Description |
|---|---|---|---|
| BITCOIN_HOST | bitcoin | ✔ | Hostname of a bitcoind service |
| BITCOIN_PORT_RPC | 8030 | ✔ | RPC port of the bitcoind service |
| BITCOIN_PORT_ZMQ | 38330 | ✔ | ZMQ port of the bitcoind service |
Expose port 9130 to make the Bitcoin Explorer and REST API available outside the Docker network.
Persist the directory /blockbook/data to preserve the state.
docker run --rm --interactive --tty --publish 9130:9130 --volume blockbook-data:/blockbook/data --env BITCOIN_HOST=bitcoin --env BITCOIN_PORT_RPC=8030 --env BITCOIN_PORT_ZMQ=38330 xsystems/blockbook:v0.3.4
Optionally change the variable DOCKER_TAG in build.sh and run that script to build an image of the Blockbook codebase state with tag indicated by DOCKER_TAG.
VERSION environment variable to the version that needs to be released.COMMIT environment variable to the hash of the Git commit that needs to be released. It defaults to the latest commit.Example release statement:
VERSION=v0.3.4 ./release.sh
Content type
Image
Digest
Size
42.5 MB
Last updated
over 5 years ago
docker pull xsystems/blockbook:v0.3.5