Add more hyperledger descriptions

pull/1/head
Baohua Yang 2016-04-18 14:19:35 +08:00
parent 2032685796
commit 70b94eb56f
3 changed files with 7 additions and 5 deletions

View File

@ -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.

View File

@ -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"

View File

@ -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: