github.com/myafeier/fabric@v1.0.1-0.20170722181825-3a4b1f2bce86/examples/e2e_cli/docker-compose-couch.yaml (about)

     1  # Copyright IBM Corp. All Rights Reserved.
     2  #
     3  # SPDX-License-Identifier: Apache-2.0
     4  #
     5  
     6  version: '2'
     7  
     8  services:
     9    couchdb0:
    10      container_name: couchdb0
    11      image: hyperledger/fabric-couchdb
    12      # Comment/Uncomment the port mapping if you want to hide/expose the CouchDB service,
    13      # for example map it to utilize Fauxton User Interface in dev environments.
    14      ports:
    15        - "5984:5984"
    16  
    17    peer0.org1.example.com:
    18      environment:
    19        - CORE_LEDGER_STATE_STATEDATABASE=CouchDB
    20        - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb0:5984
    21      depends_on:
    22        - couchdb0
    23  
    24    couchdb1:
    25      container_name: couchdb1
    26      image: hyperledger/fabric-couchdb
    27      # Comment/Uncomment the port mapping if you want to hide/expose the CouchDB service,
    28      # for example map it to utilize Fauxton User Interface in dev environments.
    29      ports:
    30        - "6984:5984"
    31  
    32    peer1.org1.example.com:
    33      environment:
    34        - CORE_LEDGER_STATE_STATEDATABASE=CouchDB
    35        - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb1:5984
    36      depends_on:
    37        - couchdb1
    38  
    39    couchdb2:
    40      container_name: couchdb2
    41      image: hyperledger/fabric-couchdb
    42      # Comment/Uncomment the port mapping if you want to hide/expose the CouchDB service,
    43      # for example map it to utilize Fauxton User Interface in dev environments.
    44      ports:
    45        - "7984:5984"
    46  
    47    peer0.org2.example.com:
    48      environment:
    49        - CORE_LEDGER_STATE_STATEDATABASE=CouchDB
    50        - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb2:5984
    51      depends_on:
    52        - couchdb2
    53  
    54    couchdb3:
    55      container_name: couchdb3
    56      image: hyperledger/fabric-couchdb
    57      # Comment/Uncomment the port mapping if you want to hide/expose the CouchDB service,
    58      # for example map it to utilize Fauxton User Interface in dev environments.
    59      ports:
    60        - "8984:5984"
    61  
    62    peer1.org2.example.com:
    63      environment:
    64        - CORE_LEDGER_STATE_STATEDATABASE=CouchDB
    65        - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb3:5984
    66      depends_on:
    67        - couchdb3