Update with new unique docker image

pull/16/head
Baohua Yang 2016-09-24 11:37:44 +08:00
parent fd0c327de0
commit 4293e017af
6 changed files with 18 additions and 16 deletions

View File

@ -9,12 +9,13 @@ $ bash setupPbft.sh
## Download Images
If you want to start it manually, follow the steps:
First, pull necessary images first.
First, pull necessary images first. You can ignore this step if pulling official image already.
```sh
$ docker pull yeasy/hyperledger:latest && docker tag yeasy/hyperledger:latest hyperledger/fabric-baseimage:latest
$ docker pull yeasy/hyperledger-peer:latest
$ docker pull yeasy/hyperledger-membersrvc:latest
$ docker pull yeasy/hyperledger-fabric:latest
$ docker tag yeasy/hyperledger-fabric:latest hyperledger/fabric-peer:latest
$ docker tag yeasy/hyperledger-fabric:latest hyperledger/fabric-baseimage:latest
$ docker tag yeasy/hyperledger-fabric:latest hyperledger/fabric-membersrvc:latest
```
### Start 4 Noops node cluster

View File

@ -9,7 +9,7 @@
# https://github.com/yeasy/docker-compose-files
membersrvc:
image: yeasy/hyperledger-membersrvc:latest
image: hyperledger/fabric-membersrvc:latest
restart: unless-stopped
expose:
- "7054"
@ -36,7 +36,7 @@ vp0:
- CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054
ports:
- "7050:7050"
#- "7051:7051"
- "7051:7051"
links:
- membersrvc
command: sh -c "sleep 5; peer node start"

View File

@ -2,13 +2,13 @@
# Notice that chaincode is executed inside docker in default net mode
# https://github.com/yeasy/docker-compose-files
# Depends on the yeasy/hyperledger-peer:noops image
# Depends on the hyperledger/fabric-peer image
# This utilizes the noops as consensus
# See https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devnet-setup.md#using-consensus-plugin for more details.
vp:
image: yeasy/hyperledger-peer:latest
image: hyperledger/fabric-peer:latest
restart: unless-stopped
environment:
- CORE_PEER_ADDRESSAUTODETECT=true

View File

@ -9,7 +9,7 @@
# https://github.com/yeasy/docker-compose-files
membersrvc:
image: yeasy/hyperledger-membersrvc:latest
image: hyperledger/fabric-membersrvc:latest
restart: unless-stopped
expose:
- "7054"
@ -29,7 +29,7 @@ vp0:
- CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT
ports:
- "7050:7050"
#- "7051:7051"
- "7051:7051"
links:
- membersrvc
command: sh -c "sleep 5; peer node start"

View File

@ -2,13 +2,13 @@
# Notice that chaincode is executed inside docker in default net mode
# https://github.com/yeasy/docker-compose-files
# Depends on the yeasy/hyperledger-peer:pbft image
# Depends on the hyperledger/fabric-peer image.
# This utilized the pbft as consensus
# See https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devnet-setup.md#using-consensus-plugin for more details.
vp:
image: yeasy/hyperledger-peer:latest
image: hyperledger/fabric-peer:latest
restart: unless-stopped
environment:
- CORE_PEER_ADDRESSAUTODETECT=true

View File

@ -19,9 +19,10 @@ curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version
docker pull yeasy/hyperledger:latest && docker tag yeasy/hyperledger:latest hyperledger/fabric-baseimage:latest
docker pull yeasy/hyperledger-peer:latest
docker pull yeasy/hyperledger-membersrvc:latest
docker pull yeasy/hyperledger-fabric:latest \
&& docker tag yeasy/hyperledger-fabric:latest hyperledger/fabric-peer:latest \
&& docker tag yeasy/hyperledger-fabric:latest hyperledger/fabric-baseimage:latest \
&& docker tag yeasy/hyperledger-fabric:latest hyperledger/fabric-membersrvc:latest
cd pbft
docker-compose up