Skip to content

Commit

Permalink
Add a new compose file for testing v1.0 setup
Browse files Browse the repository at this point in the history
Change-Id: I4f3d147b9e3734b62e67940c23785644b5325756
Signed-off-by: Greg Haskins <gregory.haskins@gmail.com>
  • Loading branch information
ghaskins committed Nov 29, 2016
1 parent 7d51ed9 commit ad453e5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions test/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
orderer:
image: hyperledger/fabric-orderer
environment:
- ORDERER_GENERAL_LEDGERTYPE=ram
- ORDERER_GENERAL_BATCHTIMEOUT=10s
- ORDERER_GENERAL_BATCHSIZE=10
- ORDERER_GENERAL_MAXWINDOWSIZE=1000
- ORDERER_GENERAL_ORDERERTYPE=solo
- ORDERER_GENERAL_LISTENADDRESS=0.0.0.0
- ORDERER_GENERAL_LISTENPORT=7050
- ORDERER_RAMLEDGER_HISTORY_SIZE=100
expose:
- 7050

vp:
image: hyperledger/fabric-peer
links:
- orderer
ports:
- 7051:7051
- 7053:7053
- 7054:7054
environment:
- CORE_PEER_ADDRESSAUTODETECT=true
- CORE_PEER_COMMITTER_LEDGER_ORDERER=orderer:7050
volumes:
- /var/run/docker.sock:/var/run/docker.sock

0 comments on commit ad453e5

Please sign in to comment.