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
【本文章出自博客园willaty,转载请注明作者出处,误差欢迎指出~】