mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Update logging level to DEBUG and add configuration volume for peer services
This commit is contained in:
parent
385a35b744
commit
1ff419d2ed
1 changed files with 4 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ services:
|
||||||
service: hyperledger-fabric
|
service: hyperledger-fabric
|
||||||
environment:
|
environment:
|
||||||
- FABRIC_CFG_PATH=/etc/hyperledger/peercfg
|
- FABRIC_CFG_PATH=/etc/hyperledger/peercfg
|
||||||
- FABRIC_LOGGING_SPEC=INFO
|
- FABRIC_LOGGING_SPEC=DEBUG
|
||||||
#- FABRIC_LOGGING_SPEC=DEBUG
|
#- FABRIC_LOGGING_SPEC=DEBUG
|
||||||
- CORE_PEER_TLS_ENABLED=true
|
- CORE_PEER_TLS_ENABLED=true
|
||||||
- CORE_PEER_PROFILE_ENABLED=false
|
- CORE_PEER_PROFILE_ENABLED=false
|
||||||
|
|
@ -86,6 +86,7 @@ services:
|
||||||
- CORE_CHAINCODE_EXECUTETIMEOUT=300s
|
- CORE_CHAINCODE_EXECUTETIMEOUT=300s
|
||||||
volumes:
|
volumes:
|
||||||
- ../organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com:/etc/hyperledger/fabric
|
- ../organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com:/etc/hyperledger/fabric
|
||||||
|
- C:\Users\Daniël\Documents\Git\blockchain-dev\fabric-samples\config:/etc/hyperledger/peercfg
|
||||||
- peer0.org1.example.com:/var/hyperledger/production
|
- peer0.org1.example.com:/var/hyperledger/production
|
||||||
working_dir: /root
|
working_dir: /root
|
||||||
command: peer node start
|
command: peer node start
|
||||||
|
|
@ -102,7 +103,7 @@ services:
|
||||||
service: hyperledger-fabric
|
service: hyperledger-fabric
|
||||||
environment:
|
environment:
|
||||||
- FABRIC_CFG_PATH=/etc/hyperledger/peercfg
|
- FABRIC_CFG_PATH=/etc/hyperledger/peercfg
|
||||||
- FABRIC_LOGGING_SPEC=INFO
|
- FABRIC_LOGGING_SPEC=DEBUG
|
||||||
#- FABRIC_LOGGING_SPEC=DEBUG
|
#- FABRIC_LOGGING_SPEC=DEBUG
|
||||||
- CORE_PEER_TLS_ENABLED=true
|
- CORE_PEER_TLS_ENABLED=true
|
||||||
- CORE_PEER_PROFILE_ENABLED=false
|
- CORE_PEER_PROFILE_ENABLED=false
|
||||||
|
|
@ -125,6 +126,7 @@ services:
|
||||||
- CORE_CHAINCODE_EXECUTETIMEOUT=300s
|
- CORE_CHAINCODE_EXECUTETIMEOUT=300s
|
||||||
volumes:
|
volumes:
|
||||||
- ../organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com:/etc/hyperledger/fabric
|
- ../organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com:/etc/hyperledger/fabric
|
||||||
|
- C:\Users\Daniël\Documents\Git\blockchain-dev\fabric-samples\config:/etc/hyperledger/peercfg
|
||||||
- peer0.org2.example.com:/var/hyperledger/production
|
- peer0.org2.example.com:/var/hyperledger/production
|
||||||
working_dir: /root
|
working_dir: /root
|
||||||
command: peer node start
|
command: peer node start
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue