mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Bump couchdb to 3.2.2 (#1008)
Bump couchdb to 3.2.2. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
This commit is contained in:
parent
dada89c710
commit
97a400ea28
8 changed files with 9 additions and 9 deletions
|
|
@ -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:3.2.2
|
||||||
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:3.2.2
|
||||||
|
|
||||||
# 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:3.2.2
|
||||||
|
|
||||||
# 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:3.2.2
|
||||||
|
|
||||||
# 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:3.2.2
|
||||||
|
|
||||||
# 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:3.2.2
|
||||||
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:3.2.2
|
||||||
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:3.2.2
|
||||||
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:3.2.2
|
||||||
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