docker-compose-files/hyperledger_fabric/v1.0.0/docker-compose-1peer.yaml

35 lines
732 B
YAML
Raw Normal View History

2017-04-06 17:50:34 +08:00
# https://github.com/yeasy/docker-compose-files/tree/master/hyperledger
# This compose file will start a Hyperledger Fabric 1.0 MVE, including
2017-06-16 15:56:25 +08:00
# * 1 ca
# * 1 orderer
# * 1 peers in 1 orgs
# * cli for testing
2017-04-06 17:50:34 +08:00
version: '2.0'
services:
ca:
extends:
file: docker-compose-base-e2e.yaml
service: ca
cli:
extends:
file: docker-compose-base-e2e.yaml
service: cli
2017-04-06 17:50:34 +08:00
orderer.example.com: # There can be multiple orderers
2017-06-16 15:56:25 +08:00
extends:
file: docker-compose-base-e2e.yaml
2017-06-16 15:56:25 +08:00
service: orderer.example.com
2017-04-06 17:50:34 +08:00
peer0.org1.example.com:
2017-04-06 17:50:34 +08:00
extends:
file: docker-compose-base-e2e.yaml
2017-06-16 15:56:25 +08:00
service: peer0.org1.example.com
2017-04-06 17:50:34 +08:00
#networks:
# default:
# external:
# name: hyperledger_fabric