From ad998d193c5e681c1a030516837b952bf9ffe187 Mon Sep 17 00:00:00 2001 From: Baohua Yang Date: Fri, 13 Dec 2019 21:26:00 -0800 Subject: [PATCH] Add dev mode --- .../v1.4.4/docker-compose-2orgs-4peers-dev.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hyperledger_fabric/v1.4.4/docker-compose-2orgs-4peers-dev.yaml b/hyperledger_fabric/v1.4.4/docker-compose-2orgs-4peers-dev.yaml index b626aca3..28add973 100644 --- a/hyperledger_fabric/v1.4.4/docker-compose-2orgs-4peers-dev.yaml +++ b/hyperledger_fabric/v1.4.4/docker-compose-2orgs-4peers-dev.yaml @@ -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: