github.com/leonlxy/hyperledger@v1.0.0-alpha.0.20170427033203-34922035d248/bddtests/docker-compose-next-4-couchdb.yml (about) 1 version: '2' 2 3 services: 4 5 couchdb0: 6 image: hyperledger/fabric-couchdb 7 ports: 8 - '5984' 9 10 peer0: 11 environment: 12 - CORE_LEDGER_STATE_STATEDATABASE=CouchDB 13 - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb0:5984 14 depends_on: 15 - couchdb0 16 17 couchdb1: 18 image: hyperledger/fabric-couchdb 19 ports: 20 - '5984' 21 22 peer1: 23 environment: 24 - CORE_LEDGER_STATE_STATEDATABASE=CouchDB 25 - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb1:5984 26 depends_on: 27 - couchdb1 28 29 couchdb2: 30 image: hyperledger/fabric-couchdb 31 ports: 32 - '5984' 33 34 peer2: 35 environment: 36 - CORE_LEDGER_STATE_STATEDATABASE=CouchDB 37 - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb2:5984 38 depends_on: 39 - couchdb2 40 41 couchdb3: 42 image: hyperledger/fabric-couchdb 43 ports: 44 - '5984' 45 46 peer3: 47 environment: 48 - CORE_LEDGER_STATE_STATEDATABASE=CouchDB 49 - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb3:5984 50 depends_on: 51 - couchdb3