mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
Change 3.1.1 to latest
This commit is contained in:
parent
1e6fe3b261
commit
e4be0c41f2
9 changed files with 10 additions and 10 deletions
|
|
@ -11,5 +11,5 @@ for image in baseos peer orderer ca tools orderer ccenv javaenv nodeenv tools; d
|
||||||
docker rmi -f "hyperledger-fabric.jfrog.io/fabric-${image}:${STABLE_TAG}"
|
docker rmi -f "hyperledger-fabric.jfrog.io/fabric-${image}:${STABLE_TAG}"
|
||||||
done
|
done
|
||||||
|
|
||||||
docker pull -q couchdb:3.1.1
|
docker pull -q couchdb:latest
|
||||||
docker images | grep hyperledger
|
docker images | grep hyperledger
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ If you set the "use_couchdb" option to true in `config.json`, you can run the
|
||||||
following command start a local instance of CouchDB using docker:
|
following command start a local instance of CouchDB using docker:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password --publish 5990:5984 --detach --name offchaindb couchdb:3.1.1
|
docker run -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password --publish 5990:5984 --detach --name offchaindb couchdb:latest
|
||||||
docker start offchaindb
|
docker start offchaindb
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ export CORE_LEDGER_SNAPSHOTS_ROOTDIR="${PWD}"/data/peer0.org1.example.com/snapsh
|
||||||
# export CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=127.0.0.1:5984
|
# export CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=127.0.0.1:5984
|
||||||
# export CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=admin
|
# export CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=admin
|
||||||
# export CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=password
|
# export CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=password
|
||||||
# docker run --publish 5984:5984 --detach -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password --name couchdb1 couchdb:3.1.1
|
# docker run --publish 5984:5984 --detach -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password --name couchdb1 couchdb:latest
|
||||||
|
|
||||||
# start peer
|
# start peer
|
||||||
peer node start
|
peer node start
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ export CORE_LEDGER_SNAPSHOTS_ROOTDIR="${PWD}"/data/peer1.org1.example.com/snapsh
|
||||||
# export CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=127.0.0.1:5985
|
# export CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=127.0.0.1:5985
|
||||||
# export CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=admin
|
# export CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=admin
|
||||||
# export CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=password
|
# export CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=password
|
||||||
# docker run --publish 5985:5984 --detach -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password --name couchdb2 couchdb:3.1.1
|
# docker run --publish 5985:5984 --detach -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password --name couchdb2 couchdb:latest
|
||||||
|
|
||||||
# start peer
|
# start peer
|
||||||
peer node start
|
peer node start
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ export CORE_LEDGER_SNAPSHOTS_ROOTDIR="${PWD}"/data/peer0.org2.example.com/snapsh
|
||||||
# export CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=127.0.0.1:5986
|
# export CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=127.0.0.1:5986
|
||||||
# export CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=admin
|
# export CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=admin
|
||||||
# export CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=password
|
# export CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=password
|
||||||
# docker run --publish 5986:5984 --detach -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password --name couchdb3 couchdb:3.1.1
|
# docker run --publish 5986:5984 --detach -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password --name couchdb3 couchdb:latest
|
||||||
|
|
||||||
# start peer
|
# start peer
|
||||||
peer node start
|
peer node start
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ export CORE_LEDGER_SNAPSHOTS_ROOTDIR="${PWD}"/data/peer1.org2.example.com/snapsh
|
||||||
# export CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=127.0.0.1:5987
|
# export CORE_LEDGER_STATE_COUCHDBCONFIG_COUCHDBADDRESS=127.0.0.1:5987
|
||||||
# export CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=admin
|
# export CORE_LEDGER_STATE_COUCHDBCONFIG_USERNAME=admin
|
||||||
# export CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=password
|
# export CORE_LEDGER_STATE_COUCHDBCONFIG_PASSWORD=password
|
||||||
# docker run --publish 5987:5984 --detach -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password --name couchdb4 couchdb:3.1.1
|
# docker run --publish 5987:5984 --detach -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password --name couchdb4 couchdb:latest
|
||||||
|
|
||||||
# start peer
|
# start peer
|
||||||
peer node start
|
peer node start
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ networks:
|
||||||
services:
|
services:
|
||||||
couchdb4:
|
couchdb4:
|
||||||
container_name: couchdb4
|
container_name: couchdb4
|
||||||
image: couchdb:3.1.1
|
image: couchdb:latest
|
||||||
labels:
|
labels:
|
||||||
service: hyperledger-fabric
|
service: hyperledger-fabric
|
||||||
# Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
|
# Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ networks:
|
||||||
services:
|
services:
|
||||||
couchdb4:
|
couchdb4:
|
||||||
container_name: couchdb4
|
container_name: couchdb4
|
||||||
image: couchdb:3.1.1
|
image: couchdb:latest
|
||||||
labels:
|
labels:
|
||||||
service: hyperledger-fabric
|
service: hyperledger-fabric
|
||||||
# Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
|
# Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ networks:
|
||||||
services:
|
services:
|
||||||
couchdb0:
|
couchdb0:
|
||||||
container_name: couchdb0
|
container_name: couchdb0
|
||||||
image: couchdb:3.1.1
|
image: couchdb:latest
|
||||||
labels:
|
labels:
|
||||||
service: hyperledger-fabric
|
service: hyperledger-fabric
|
||||||
# Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
|
# Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
|
||||||
|
|
@ -41,7 +41,7 @@ services:
|
||||||
|
|
||||||
couchdb1:
|
couchdb1:
|
||||||
container_name: couchdb1
|
container_name: couchdb1
|
||||||
image: couchdb:3.1.1
|
image: couchdb:latest
|
||||||
labels:
|
labels:
|
||||||
service: hyperledger-fabric
|
service: hyperledger-fabric
|
||||||
# Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
|
# Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue