mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
Merge "[FAB-12873] fix samples version, instead of latest." into release-1.2
This commit is contained in:
commit
0ddd2e5f61
2 changed files with 9 additions and 5 deletions
|
|
@ -1 +1,5 @@
|
|||
COMPOSE_PROJECT_NAME=net
|
||||
VERSION=1.2.1
|
||||
CA_VERSION=1.2.1
|
||||
THIRDPARTY_IMAGE_VERSION=0.4.10
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ networks:
|
|||
|
||||
services:
|
||||
ca.example.com:
|
||||
image: hyperledger/fabric-ca
|
||||
image: hyperledger/fabric-ca:${VERSION}
|
||||
environment:
|
||||
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
|
||||
- FABRIC_CA_SERVER_CA_NAME=ca.example.com
|
||||
|
|
@ -27,7 +27,7 @@ services:
|
|||
|
||||
orderer.example.com:
|
||||
container_name: orderer.example.com
|
||||
image: hyperledger/fabric-orderer
|
||||
image: hyperledger/fabric-orderer:${VERSION}
|
||||
environment:
|
||||
- ORDERER_GENERAL_LOGLEVEL=info
|
||||
- ORDERER_GENERAL_LISTENADDRESS=0.0.0.0
|
||||
|
|
@ -48,7 +48,7 @@ services:
|
|||
|
||||
peer0.org1.example.com:
|
||||
container_name: peer0.org1.example.com
|
||||
image: hyperledger/fabric-peer
|
||||
image: hyperledger/fabric-peer:${VERSION}
|
||||
environment:
|
||||
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
|
||||
- CORE_PEER_ID=peer0.org1.example.com
|
||||
|
|
@ -87,7 +87,7 @@ services:
|
|||
|
||||
couchdb:
|
||||
container_name: couchdb
|
||||
image: hyperledger/fabric-couchdb
|
||||
image: hyperledger/fabric-couchdb:${THIRDPARTY_IMAGE_VERSION}
|
||||
# Populate the COUCHDB_USER and COUCHDB_PASSWORD to set an admin user and password
|
||||
# for CouchDB. This will prevent CouchDB from operating in an "Admin Party" mode.
|
||||
environment:
|
||||
|
|
@ -100,7 +100,7 @@ services:
|
|||
|
||||
cli:
|
||||
container_name: cli
|
||||
image: hyperledger/fabric-tools
|
||||
image: hyperledger/fabric-tools:${VERSION}
|
||||
tty: true
|
||||
environment:
|
||||
- GOPATH=/opt/gopath
|
||||
|
|
|
|||
Loading…
Reference in a new issue