Created
April 7, 2019 06:03
-
-
Save kctam/d39f0a69b5abbd38dc219901ee7033c4 to your computer and use it in GitHub Desktop.
3node2channel setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
networks: | |
fabric: | |
services: | |
orderer.example.com: | |
extends: | |
file: docker-compose-base.yml | |
service: orderer | |
container_name: orderer.example.com | |
environment: | |
- ORDERER_HOST=orderer.example.com | |
extra_hosts: | |
- "peer0.org1.example.com:172.31.58.209" | |
- "peer0.org2.example.com:172.31.51.44" | |
- "peer0.org3.example.com:172.31.53.42" | |
volumes: | |
- ../crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp:/var/hyperledger/msp | |
- ../crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls:/var/hyperledger/tls | |
- ../channel-artifacts/:/var/hyperledger/configs | |
networks: | |
fabric: | |
aliases: | |
- net | |
ports: | |
- 7050:7050 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment