past_binner

docker-compose-couch-org3.yaml

May 8th, 2018
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. # Copyright IBM Corp. All Rights Reserved.
  2. #
  3. # SPDX-License-Identifier: Apache-2.0
  4. #
  5.  
  6. version: '2'
  7.  
  8. networks:
  9. byfn:
  10.  
  11. services:
  12. couchdb4:
  13. container_name: couchdb4
  14. image: hyperledger/fabric-couchdb
  15. # Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
  16. # for CouchDB. This will prevent CouchDB from operating in an "Admin Party" mode.
  17. environment:
  18. - COUCHDB_USER=
  19. - COUCHDB_PASSWORD=
  20. # Comment/Uncomment the port mapping if you want to hide/expose the CouchDB service,
  21. # for example map it to utilize Fauxton User Interface in dev environments.
  22. ports:
  23. - "9984:5984"
  24. networks:
  25. - byfn
  26.  
  27. peer0.org3.example.com:
  28. environment:
  29. - CORE_LEDGER_STATE_STATEDATABASE=CouchDB
  30. - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb0:5984
  31. # The CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME and CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD
  32. # provide the credentials for ledger to connect to CouchDB. The username and password must
  33. # match the username and password set for the associated CouchDB.
  34. - CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=
  35. - CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=
  36. depends_on:
  37. - couchdb4
  38.  
  39. couchdb5:
  40. container_name: couchdb5
  41. image: hyperledger/fabric-couchdb
  42. # Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
  43. # for CouchDB. This will prevent CouchDB from operating in an "Admin Party" mode.
  44. environment:
  45. - COUCHDB_USER=
  46. - COUCHDB_PASSWORD=
  47. # Comment/Uncomment the port mapping if you want to hide/expose the CouchDB service,
  48. # for example map it to utilize Fauxton User Interface in dev environments.
  49. ports:
  50. - "10984:5984"
  51. networks:
  52. - byfn
  53.  
  54. peer1.org3.example.com:
  55. environment:
  56. - CORE_LEDGER_STATE_STATEDATABASE=CouchDB
  57. - CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=couchdb1:5984
  58. # The CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME and CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD
  59. # provide the credentials for ledger to connect to CouchDB. The username and password must
  60. # match the username and password set for the associated CouchDB.
  61. - CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=
  62. - CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=
  63. depends_on:
  64. - couchdb5
Add Comment
Please, Sign In to add comment