orderer:
  image: hyperledger/fabric-orderer
  environment:
    - ORDERER_GENERAL_LEDGERTYPE=ram
    - ORDERER_GENERAL_BATCHTIMEOUT=10s
    - ORDERER_GENERAL_BATCHSIZE_MAXMESSAGECOUNT=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

ca:
  image: hyperledger/fabric-ca
  ports:
    - 7054:7054

orderer:
  image: hyperledger/fabric-orderer
  environment:
    - ORDERER_GENERAL_LEDGERTYPE=ram
    - ORDERER_GENERAL_BATCHTIMEOUT=10s
    - ORDERER_GENERAL_BATCHSIZE_MAXMESSAGECOUNT=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
  ports:
    - 7050:7050

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

Add CA to test composition and configure for testing
Add CA to test composition and configure for testing

Exposes the peer's ports properly and runs in -devmode

Change-Id: Idb42f130b9163ef350d277a5c25a2b73c75af22e
Signed-off-by: Greg Haskins <640d9fe47775e6723f0355b7315e38f7d98d3539@gmail.com>
