Update logging level to DEBUG and add configuration volume for peer services

This commit is contained in:
NefeshInternational 2026-02-22 17:32:07 +01:00
parent 385a35b744
commit 1ff419d2ed

View file

@ -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