mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-19 16:15:09 +00:00
- Update CORE_LOGGING_LEVEL to FABRIC_LOGGING_SPEC - Add port as an argument in case default port is used Change-Id: I29725a100a095b2b6f2ec6262e7b70730445385e Signed-off-by: Wenjian Qiao <wenjianq@gmail.com>
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
#
|
|
# Copyright IBM Corp All Rights Reserved
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
version: '2'
|
|
|
|
networks:
|
|
basic:
|
|
external:
|
|
name: net_basic
|
|
|
|
services:
|
|
cliDigiBank:
|
|
container_name: cliDigiBank
|
|
image: hyperledger/fabric-tools
|
|
tty: true
|
|
environment:
|
|
- GOPATH=/opt/gopath
|
|
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
|
|
- FABRIC_LOGGING_SPEC=info
|
|
- CORE_PEER_ID=cli
|
|
- CORE_PEER_ADDRESS=peer0.org1.example.com:7051
|
|
- CORE_PEER_LOCALMSPID=Org1MSP
|
|
- CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
|
|
- CORE_CHAINCODE_KEEPALIVE=10
|
|
working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer
|
|
command: /bin/bash
|
|
volumes:
|
|
- /var/run/:/host/var/run/
|
|
- ./../../../../organization/digibank:/opt/gopath/src/github.com/
|
|
- ./../../../../../basic-network/crypto-config:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/
|
|
networks:
|
|
- basic
|
|
#depends_on:
|
|
# - orderer.example.com
|
|
# - peer0.org1.example.com
|
|
# - couchdb
|