docker-compose-files/hyperledger_fabric/v1.0.0/docker-compose-2orgs-4peers...

56 lines
1.2 KiB
YAML
Raw Normal View History

2017-05-13 10:42:50 +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-09-01 21:26:25 +08:00
# * 2 ca
2017-06-07 15:53:15 +08:00
# * 1 orderer
# * 4 peers in 2 orgs
# * cli for testing
2017-05-13 10:42:50 +08:00
version: '2.0'
services:
2017-09-01 20:18:46 +08:00
ca.org1.example.com:
extends:
2017-10-26 13:14:49 +08:00
file: docker-compose-base.yaml
2017-09-01 20:18:46 +08:00
service: ca.org1.example.com
ca.org2.example.com:
extends:
2017-10-26 13:14:49 +08:00
file: docker-compose-base.yaml
2017-09-01 20:18:46 +08:00
service: ca.org2.example.com
cli:
extends:
2017-10-26 13:14:49 +08:00
file: docker-compose-base.yaml
service: cli
2017-05-13 10:42:50 +08:00
orderer.example.com: # There can be multiple orderers
extends:
2017-10-26 13:14:49 +08:00
file: docker-compose-base.yaml
2017-05-13 10:42:50 +08:00
service: orderer.example.com
2017-09-01 20:18:46 +08:00
2017-05-13 10:42:50 +08:00
peer0.org1.example.com:
extends:
2017-10-26 13:14:49 +08:00
file: docker-compose-base.yaml
2017-05-13 10:42:50 +08:00
service: peer0.org1.example.com
peer1.org1.example.com:
extends:
2017-10-26 13:14:49 +08:00
file: docker-compose-base.yaml
2017-05-13 10:42:50 +08:00
service: peer1.org1.example.com
peer0.org2.example.com:
extends:
2017-10-26 13:14:49 +08:00
file: docker-compose-base.yaml
2017-05-13 10:42:50 +08:00
service: peer0.org2.example.com
peer1.org2.example.com:
extends:
2017-10-26 13:14:49 +08:00
file: docker-compose-base.yaml
2017-05-13 10:42:50 +08:00
service: peer1.org2.example.com
#networks:
# default:
# external:
# name: hyperledger_fabric