Docker build scripts for the BitcoinZ Restful API and Insight Explorer
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
Dockerfile
README.md
bitcoinz.conf
bitcore-node.json
docker-compose.overrides.yml-dist
docker-compose.yml

README.md

BitcoinZ REST APIs

Docker build scripts for the BitcoinZ Restful API.

About

The BitcoinZ REST APIs are a set of APIs based on the insight explorer. For more information about the APIs routes available, you can checkout the documentation on the API project here: https://github.com/bitcoinz-dev-tools/insight-api-btcz

Requirements

The following applications are required to run Insight:

  • Docker 17.05 or higher
  • bitcoinz-insight-patched docker container

Build

Build the container with the following command:

docker build -t btcz/bitcoinz-rest-api .

Usage

To get the container up and running quickly, use the following command:

docker run -it --name bitcoinz-insight-patched \
  -p 1989:1989 \
  btcz/bitcoinz-insight-patched

docker run -it --name bitcoinz-rest-api \
  --link bitcoinz-insight-patched
  -p 3001:3001 \
  btcz/bitcoinz-rest-api

Docker Compose

To simplify operation of the insight service, you can use docker compose. After installation, you can use docker-compose by running the ./bin/docker.sh script.