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
标签:持久,Fabric,zk,couchdb,number,kafka,var,hyperledger 来源: https://www.cnblogs.com/smqh-bokeyuan/p/13492926.html