mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
[FAB-12873] fix samples version, instead of latest.
to prevent docker for using the latest version. Change-Id: Icd2e714089a3f9a5c3494266c10b9e503d29de0a Signed-off-by: YeonhoPark <nicezic@naver.com>
This commit is contained in:
parent
5a121b6b27
commit
9beb043131
2 changed files with 9 additions and 5 deletions
|
|
@ -1 +1,5 @@
|
||||||
COMPOSE_PROJECT_NAME=net
|
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:
|
services:
|
||||||
ca.example.com:
|
ca.example.com:
|
||||||
image: hyperledger/fabric-ca
|
image: hyperledger/fabric-ca:${VERSION}
|
||||||
environment:
|
environment:
|
||||||
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
|
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
|
||||||
- FABRIC_CA_SERVER_CA_NAME=ca.example.com
|
- FABRIC_CA_SERVER_CA_NAME=ca.example.com
|
||||||
|
|
@ -27,7 +27,7 @@ services:
|
||||||
|
|
||||||
orderer.example.com:
|
orderer.example.com:
|
||||||
container_name: orderer.example.com
|
container_name: orderer.example.com
|
||||||
image: hyperledger/fabric-orderer
|
image: hyperledger/fabric-orderer:${VERSION}
|
||||||
environment:
|
environment:
|
||||||
- ORDERER_GENERAL_LOGLEVEL=info
|
- ORDERER_GENERAL_LOGLEVEL=info
|
||||||
- ORDERER_GENERAL_LISTENADDRESS=0.0.0.0
|
- ORDERER_GENERAL_LISTENADDRESS=0.0.0.0
|
||||||
|
|
@ -48,7 +48,7 @@ services:
|
||||||
|
|
||||||
peer0.org1.example.com:
|
peer0.org1.example.com:
|
||||||
container_name: peer0.org1.example.com
|
container_name: peer0.org1.example.com
|
||||||
image: hyperledger/fabric-peer
|
image: hyperledger/fabric-peer:${VERSION}
|
||||||
environment:
|
environment:
|
||||||
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
|
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
|
||||||
- CORE_PEER_ID=peer0.org1.example.com
|
- CORE_PEER_ID=peer0.org1.example.com
|
||||||
|
|
@ -87,7 +87,7 @@ services:
|
||||||
|
|
||||||
couchdb:
|
couchdb:
|
||||||
container_name: 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
|
# 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.
|
# for CouchDB. This will prevent CouchDB from operating in an "Admin Party" mode.
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -100,7 +100,7 @@ services:
|
||||||
|
|
||||||
cli:
|
cli:
|
||||||
container_name: cli
|
container_name: cli
|
||||||
image: hyperledger/fabric-tools
|
image: hyperledger/fabric-tools:${VERSION}
|
||||||
tty: true
|
tty: true
|
||||||
environment:
|
environment:
|
||||||
- GOPATH=/opt/gopath
|
- GOPATH=/opt/gopath
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue