# All elements in this file should depend on the base.yaml # Provided fabric peer node version: '2.0' services: peer: # peer node extends: file: base.yaml service: peer-base container_name: peer0.org1.example.com # will generated automatically hostname: peer0.org1.example.com # will generated automatically environment: - CORE_PEER_ID=peer0.org1.example.com - CORE_PEER_ADDRESS=peer0.org1.example.com:7051 # grpc - CORE_PEER_CHAINCODELISTENADDRESS=peer0.org1.example.com:7052 # chaincode - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051 # gossip - CORE_PEER_LOCALMSPID=Org1MSP - CORE_PEER_TLS_ENABLED=true volumes: - ./solo/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp:/etc/hyperledger/fabric/msp - ./solo/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls:/etc/hyperledger/fabric/tls expose: - 7051 - 7052 - 7053