config.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "network-config": {
  3. "orderer": [
  4. {
  5. "url": "grpcs://orderer.example.com:7050",
  6. "server-hostname": "orderer.example.com",
  7. "tls_cacerts": "/first-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/ca.crt"
  8. }
  9. ],
  10. "org1": {
  11. "name": "peerOrg1",
  12. "mspid": "Org1MSP",
  13. "peer1": {
  14. "requests": "grpcs://peer0.org1.example.com:7051",
  15. "events": "grpcs://peer0.org1.example.com:7053",
  16. "server-hostname": "peer0.org1.example.com",
  17. "tls_cacerts": "/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt"
  18. },
  19. "peer2": {
  20. "requests": "grpcs://peer1.org1.example.com:7051",
  21. "events": "grpcs://peer1.org1.example.com:7053",
  22. "server-hostname": "peer1.org1.example.com",
  23. "tls_cacerts": "/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt"
  24. },
  25. "admin": {
  26. "key": "/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore",
  27. "cert": "/first-network/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts"
  28. }
  29. },
  30. "org2": {
  31. "name": "peerOrg2",
  32. "mspid": "Org2MSP",
  33. "ca": "https://ca.org2.example.com:7054",
  34. "peer1": {
  35. "requests": "grpcs://peer0.org2.example.com:7051",
  36. "events": "grpcs://peer0.org2.example.com:7053",
  37. "server-hostname": "peer0.org2.example.com",
  38. "tls_cacerts": "/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt"
  39. },
  40. "peer2": {
  41. "requests": "grpcs://peer1.org2.example.com:7051",
  42. "events": "grpcs://peer1.org2.example.com:7053",
  43. "server-hostname": "peer1.org2.example.com",
  44. "tls_cacerts": "/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/ca.crt"
  45. },
  46. "admin": {
  47. "key": "/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore",
  48. "cert": "/first-network/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts"
  49. }
  50. }
  51. },
  52. "host":"explorer",
  53. "port":"8080",
  54. "channel": "businesschannel",
  55. "GOPATH":"../artifacts",
  56. "keyValueStore":"/tmp/fabric-client-kvs",
  57. "eventWaitTime":"30000",
  58. "peer":"peer1",
  59. "org":["org1"],
  60. "users":[
  61. {
  62. "username":"admin",
  63. "secret":"adminpw"
  64. }
  65. ],
  66. "mysql":{
  67. "host":"mysql",
  68. "port":"3306",
  69. "database":"fabricexplorer",
  70. "username":"root",
  71. "passwd":"root"
  72. }
  73. }