Add dev mode

pull/135/head
Baohua Yang 2019-12-13 21:26:00 -08:00
parent c7812b85b7
commit ad998d193c
1 changed files with 9 additions and 0 deletions

View File

@ -28,16 +28,25 @@ services:
extends:
file: base-raft.yaml
service: orderer0.example.com
volumes:
- $GOPATH/src/github.com/hyperledger/fabric:/go/src/github.com/hyperledger/fabric
command: /go/src/github.com/hyperledger/fabric/orderer/orderer start
orderer1.example.com: # There can be multiple orderers
extends:
file: base-raft.yaml
service: orderer1.example.com
volumes:
- $GOPATH/src/github.com/hyperledger/fabric:/go/src/github.com/hyperledger/fabric
command: /go/src/github.com/hyperledger/fabric/orderer/orderer start
orderer2.example.com: # There can be multiple orderers
extends:
file: base-raft.yaml
service: orderer2.example.com
volumes:
- $GOPATH/src/github.com/hyperledger/fabric:/go/src/github.com/hyperledger/fabric
command: /go/src/github.com/hyperledger/fabric/orderer/orderer start
peer0.org1.example.com:
extends: