mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-22 17:45:10 +00:00
Merge e88873f2e1 into fbc120f1fc
This commit is contained in:
commit
9318a01c3a
2 changed files with 7 additions and 2 deletions
|
|
@ -10,9 +10,11 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
|
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
|
||||||
# the following setting starts chaincode containers on the same
|
# the following setting starts chaincode containers on the same
|
||||||
# bridge network as the peers
|
# bridge network as the peers.
|
||||||
|
# As the docker compose file is in the folder "first-network",
|
||||||
|
# docker will create a default network called "firstnetwork_default"
|
||||||
# https://docs.docker.com/compose/networking/
|
# https://docs.docker.com/compose/networking/
|
||||||
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=byfn_default
|
- CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE=firstnetwork_default
|
||||||
#- CORE_LOGGING_LEVEL=ERROR
|
#- CORE_LOGGING_LEVEL=ERROR
|
||||||
- CORE_LOGGING_LEVEL=DEBUG
|
- CORE_LOGGING_LEVEL=DEBUG
|
||||||
- CORE_PEER_TLS_ENABLED=true
|
- CORE_PEER_TLS_ENABLED=true
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,9 @@
|
||||||
# this may be commented out to resolve installed version of tools if desired
|
# this may be commented out to resolve installed version of tools if desired
|
||||||
export PATH=${PWD}/../bin:${PWD}:$PATH
|
export PATH=${PWD}/../bin:${PWD}:$PATH
|
||||||
|
|
||||||
|
# Add FABRIC_CFG_PATH variable to allow configtxgen to find configuration file
|
||||||
|
export FABRIC_CFG_PATH=$PWD
|
||||||
|
|
||||||
# Print the usage message
|
# Print the usage message
|
||||||
function printHelp () {
|
function printHelp () {
|
||||||
echo "Usage: "
|
echo "Usage: "
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue