mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
[FAB-13533] use right version of Fabric.
In basic-sample, use right version of Fabric. Change-Id: I05bd5c81ac92c43ba44af2faef13a1269de38cb8 Signed-off-by: YeonhoPark <nicezic@naver.com>
This commit is contained in:
parent
c47f4ba85c
commit
37e6c92bbb
2 changed files with 5 additions and 4 deletions
|
|
@ -1 +1,2 @@
|
||||||
COMPOSE_PROJECT_NAME=net
|
COMPOSE_PROJECT_NAME=net
|
||||||
|
IMAGE_TAG=1.3.0
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ networks:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
ca.example.com:
|
ca.example.com:
|
||||||
image: hyperledger/fabric-ca
|
image: hyperledger/fabric-ca:$IMAGE_TAG
|
||||||
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:$IMAGE_TAG
|
||||||
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:$IMAGE_TAG
|
||||||
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
|
||||||
|
|
@ -100,7 +100,7 @@ services:
|
||||||
|
|
||||||
cli:
|
cli:
|
||||||
container_name: cli
|
container_name: cli
|
||||||
image: hyperledger/fabric-tools
|
image: hyperledger/fabric-tools:$IMAGE_TAG
|
||||||
tty: true
|
tty: true
|
||||||
environment:
|
environment:
|
||||||
- GOPATH=/opt/gopath
|
- GOPATH=/opt/gopath
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue