fabric 持久化

每个容器都有目录需要映射出来。在volume中添加如下映射即可:

peer是:

  • /var/hyperledger/peer{number}/org{number}:/var/hyperledger/production

orderer是:

  • /var/hyperledger/orderer:/var/hyperledger/production

 

zk是:

  • /var/hyperledger/zk{number}/data:/data
  • /var/hyperledger/zk{number}/datalog:/datalog

kafka:

  • /var/hyperledger/kafka{number}:/tmp/kafka-logs

couchdb:

  • /var/hyperledger/couchdb{number}:/opt/couchdb/data

转载于:https://www.cnblogs.com/willaty/p/10077531.html

你可能感兴趣的:(fabric 持久化)