Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 963 Bytes

docker.md

File metadata and controls

33 lines (22 loc) · 963 Bytes

Sidetree Docker Images

Overview

The Sidetree components can be build an operated as dockerized containers. To run a sidetree installation, you'll need the following images:

  • sidetree-bitcore -- Bitcore Node with Sidetree Bitcore Extension
  • sidetree-bitcoin -- Generic Blockchain Interface with Bitcoin Implementation
  • sidetree-core -- Sidetree Core Interface
  • mongo
  • ipfs

Environment

You'll need to have Docker Environment setup. To interact with the docker-compose.yaml you'll also need docker-compose.

Build

To build all containers locally run

docker-compose build

in the root directory of this repository.

Run via compose

docker-compose up {"service"}

Container Configuration

Containers are (mostly) configured via environment variables. These are:

sidetree-bitcore

  • BITCOIN_NETWORK: {testnet, livenet}
  • BITCOIN_PRIVATE_KEY_WIF: "Private Key in XX Format"
  • BITCOIN_FEE: "Tx Fee in Satoshi"