Add more hyperledger descriptions
parent
2032685796
commit
70b94eb56f
|
@ -29,8 +29,7 @@ docker-compose scale es=3
|
||||||
A simple haproxy and web applications cluster.
|
A simple haproxy and web applications cluster.
|
||||||
|
|
||||||
## [hyperledger](hyperledger)
|
## [hyperledger](hyperledger)
|
||||||
Demo the hyperledger cluster with 4 validator nodes. This refers the example
|
Quickly bootup a hyperledger cluster with several validator nodes, without vagrant or any local configuration.
|
||||||
from the [hyperledger](https://github.com/hyperledger/fabric) project.
|
|
||||||
|
|
||||||
Note, currently you should manually create an `openblockchain/baseimage:latest` first. The
|
Note, currently you should manually create an `openblockchain/baseimage:latest` first. The
|
||||||
easiest way to do so is:
|
easiest way to do so is:
|
||||||
|
@ -45,8 +44,10 @@ Then you can start a 4 nodes hyperledger cluster with
|
||||||
$ docker-compose up
|
$ docker-compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
After the cluster is synced, you can validate from the container or from the
|
After the cluster is synced, you can validate by deploying, invoking or querying chaincode from the container or from the
|
||||||
host. See [hyperledger-peer](https://github .com/yeasy/docker-hyperledger-peer).
|
host. See [hyperledger-peer](https://github .com/yeasy/docker-hyperledger-peer) if you've not familiar on that.
|
||||||
|
|
||||||
|
This refers the example from the [hyperledger](https://github.com/hyperledger/fabric) project.
|
||||||
|
|
||||||
## [mongo_cluster](mongo_cluster)
|
## [mongo_cluster](mongo_cluster)
|
||||||
Start 3 mongo instance to make a replica set.
|
Start 3 mongo instance to make a replica set.
|
||||||
|
|
|
@ -8,6 +8,8 @@ vp:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- CORE_PEER_ADDRESSAUTODETECT=true
|
- CORE_PEER_ADDRESSAUTODETECT=true
|
||||||
|
- CORE_PEER_NETWORKID=dev
|
||||||
|
- CORE_LOGGING_LEVEL=warning
|
||||||
#- CORE_PEER_VALIDATOR_CONSENSUS=obcpbft
|
#- CORE_PEER_VALIDATOR_CONSENSUS=obcpbft
|
||||||
expose:
|
expose:
|
||||||
- "30303"
|
- "30303"
|
||||||
|
|
|
@ -13,7 +13,6 @@ vp0:
|
||||||
hostname: vp0
|
hostname: vp0
|
||||||
environment:
|
environment:
|
||||||
- CORE_PEER_ID=vp0
|
- CORE_PEER_ID=vp0
|
||||||
#- CORE_VM_ENDPOINT=tcp://172.17.42.1:2375
|
|
||||||
|
|
||||||
vp1:
|
vp1:
|
||||||
extends:
|
extends:
|
||||||
|
|
Loading…
Reference in New Issue