November 2018
Intermediate to advanced
528 pages
13h 21m
English
We are now ready to run our network, but first we need to perform one last step—editing the compose-cli.yaml.
This file defines the networks and services including the peer, order, and cli containers, the last of which is where you issue commands that interact with the peers (creating channels, deploying Chaincode, and so on).
Below is an example of a docker-compose-cli.yaml:
version: '2'networks: #Define blockchain network name fscn:#service section define all peers service and related container services: #name of service will serve as an orderer in the fabric network orderer.fsc.com: extends: file: base/docker-compose-base.yaml service: orderer.fsc.com container_name: orderer.fsc.com networks: - fscn peer0.org1.fsc.com: ...
Read now
Unlock full access