Sign inSign up

xsystems/blockbook

By xsystems

Updated over 5 years ago

Blockbook image build from the Blockbook source code

Image
0

489

xsystems/blockbook repository overview

xSystems - Blockbook

Blockbook image build from the Blockbook source code

Run

All available environment variables are:

Environment VariableExample ValueRequiredDescription
BITCOIN_HOSTbitcoinHostname of a bitcoind service
BITCOIN_PORT_RPC8030RPC port of the bitcoind service
BITCOIN_PORT_ZMQ38330ZMQ 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 CLI example
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

Build the Image

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.

Release the Image

  1. Set the VERSION environment variable to the version that needs to be released.
  2. Optionally, set the COMMIT environment variable to the hash of the Git commit that needs to be released. It defaults to the latest commit.
  3. Run release.sh.

Example release statement:

VERSION=v0.3.4 ./release.sh

Tag summary

Content type

Image

Digest

Size

42.5 MB

Last updated

over 5 years ago

docker pull xsystems/blockbook:v0.3.5