@@ -4107,11 +4107,13 @@ services:
41074107 - CORE_PEER_LOCALMSPID=Org1MSP
41084108 - CORE_PEER_ID=peer0.org1.example.com
41094109 - CORE_PEER_ADDRESS=peer0.org1.example.com:7061
4110- - CORE_PEER_LISTENADDRESS=peer0.org1.example.com:7061
4111- - CORE_PEER_GOSSIP_ENDPOINT=peer0.org1.example.com:7061
4110+ - CORE_PEER_LISTENADDRESS=0.0.0.0:7061
4111+ - CORE_PEER_CHAINCODEADDRESS=peer0.org1.example.com:7062
4112+ - CORE_PEER_CHAINCODELISTENADDRESS=0.0.0.0:7062
4113+ - CORE_PEER_GOSSIP_USELEADERELECTION=true
4114+ - CORE_PEER_GOSSIP_ORGLEADER=false
41124115 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7061
41134116 - CORE_PEER_GOSSIP_BOOTSTRAP="peer0.org1.example.com:7061 peer1.org1.example.com:7062"
4114- - CORE_PEER_CHAINCODELISTENADDRESS=peer0.org1.example.com:7050
41154117 - CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/fabric/peer/msp
41164118 - CORE_CHAINCODE_BUILDER=hyperledger/fabric-ccenv:\${ FABRIC_CCENV_VERSION }
41174119 - CORE_CHAINCODE_GOLANG_RUNTIME=hyperledger/fabric-baseos:\${ FABRIC_BASEOS_VERSION }
@@ -4134,13 +4136,15 @@ services:
41344136 - CORE_PEER_TLS_CERT_FILE=/etc/hyperledger/fabric/peer/tls/server.crt
41354137 - CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/peer/tls/server.key
41364138 - CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/peer/tls/ca.crt
4139+ - CORE_PEER_TLS_CLIENTAUTHREQUIRED=false
41374140 # enabled gateway
41384141 - CORE_PEER_GATEWAY_ENABLED=true
41394142 working_dir: /etc/hyperledger/fabric/peer/
41404143 command: peer node start
41414144 ports:
41424145 - 8061:9440
41434146 - 7061:7061
4147+ - 7062:7062
41444148 volumes:
41454149 - /var/run/docker.sock:/host/var/run/docker.sock
41464150 - ../fabric-config/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp:/etc/hyperledger/fabric/peer/msp
@@ -4156,11 +4160,13 @@ services:
41564160 - CORE_PEER_LOCALMSPID=Org1MSP
41574161 - CORE_PEER_ID=peer1.org1.example.com
41584162 - CORE_PEER_ADDRESS=peer1.org1.example.com:7062
4159- - CORE_PEER_LISTENADDRESS=peer1.org1.example.com:7062
4160- - CORE_PEER_GOSSIP_ENDPOINT=peer1.org1.example.com:7062
4163+ - CORE_PEER_LISTENADDRESS=0.0.0.0:7062
4164+ - CORE_PEER_CHAINCODEADDRESS=peer1.org1.example.com:7063
4165+ - CORE_PEER_CHAINCODELISTENADDRESS=0.0.0.0:7063
4166+ - CORE_PEER_GOSSIP_USELEADERELECTION=true
4167+ - CORE_PEER_GOSSIP_ORGLEADER=false
41614168 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org1.example.com:7062
41624169 - CORE_PEER_GOSSIP_BOOTSTRAP="peer0.org1.example.com:7061 peer1.org1.example.com:7062"
4163- - CORE_PEER_CHAINCODELISTENADDRESS=peer1.org1.example.com:7050
41644170 - CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/fabric/peer/msp
41654171 - CORE_CHAINCODE_BUILDER=hyperledger/fabric-ccenv:\${ FABRIC_CCENV_VERSION }
41664172 - CORE_CHAINCODE_GOLANG_RUNTIME=hyperledger/fabric-baseos:\${ FABRIC_BASEOS_VERSION }
@@ -4183,13 +4189,15 @@ services:
41834189 - CORE_PEER_TLS_CERT_FILE=/etc/hyperledger/fabric/peer/tls/server.crt
41844190 - CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/peer/tls/server.key
41854191 - CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/peer/tls/ca.crt
4192+ - CORE_PEER_TLS_CLIENTAUTHREQUIRED=false
41864193 # enabled gateway
41874194 - CORE_PEER_GATEWAY_ENABLED=true
41884195 working_dir: /etc/hyperledger/fabric/peer/
41894196 command: peer node start
41904197 ports:
41914198 - 8062:9440
41924199 - 7062:7062
4200+ - 7063:7063
41934201 volumes:
41944202 - /var/run/docker.sock:/host/var/run/docker.sock
41954203 - ../fabric-config/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp:/etc/hyperledger/fabric/peer/msp
@@ -4265,11 +4273,13 @@ services:
42654273 - CORE_PEER_LOCALMSPID=Org2MSP
42664274 - CORE_PEER_ID=peer0.org2.example.com
42674275 - CORE_PEER_ADDRESS=peer0.org2.example.com:7081
4268- - CORE_PEER_LISTENADDRESS=peer0.org2.example.com:7081
4269- - CORE_PEER_GOSSIP_ENDPOINT=peer0.org2.example.com:7081
4276+ - CORE_PEER_LISTENADDRESS=0.0.0.0:7081
4277+ - CORE_PEER_CHAINCODEADDRESS=peer0.org2.example.com:7082
4278+ - CORE_PEER_CHAINCODELISTENADDRESS=0.0.0.0:7082
4279+ - CORE_PEER_GOSSIP_USELEADERELECTION=true
4280+ - CORE_PEER_GOSSIP_ORGLEADER=false
42704281 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org2.example.com:7081
42714282 - CORE_PEER_GOSSIP_BOOTSTRAP="peer0.org2.example.com:7081 peer1.org2.example.com:7082"
4272- - CORE_PEER_CHAINCODELISTENADDRESS=peer0.org2.example.com:7050
42734283 - CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/fabric/peer/msp
42744284 - CORE_CHAINCODE_BUILDER=hyperledger/fabric-ccenv:\${ FABRIC_CCENV_VERSION }
42754285 - CORE_CHAINCODE_GOLANG_RUNTIME=hyperledger/fabric-baseos:\${ FABRIC_BASEOS_VERSION }
@@ -4292,13 +4302,15 @@ services:
42924302 - CORE_PEER_TLS_CERT_FILE=/etc/hyperledger/fabric/peer/tls/server.crt
42934303 - CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/peer/tls/server.key
42944304 - CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/peer/tls/ca.crt
4305+ - CORE_PEER_TLS_CLIENTAUTHREQUIRED=false
42954306 # enabled gateway
42964307 - CORE_PEER_GATEWAY_ENABLED=true
42974308 working_dir: /etc/hyperledger/fabric/peer/
42984309 command: peer node start
42994310 ports:
43004311 - 8081:9440
43014312 - 7081:7081
4313+ - 7082:7082
43024314 volumes:
43034315 - /var/run/docker.sock:/host/var/run/docker.sock
43044316 - ../fabric-config/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp:/etc/hyperledger/fabric/peer/msp
@@ -4314,11 +4326,13 @@ services:
43144326 - CORE_PEER_LOCALMSPID=Org2MSP
43154327 - CORE_PEER_ID=peer1.org2.example.com
43164328 - CORE_PEER_ADDRESS=peer1.org2.example.com:7082
4317- - CORE_PEER_LISTENADDRESS=peer1.org2.example.com:7082
4318- - CORE_PEER_GOSSIP_ENDPOINT=peer1.org2.example.com:7082
4329+ - CORE_PEER_LISTENADDRESS=0.0.0.0:7082
4330+ - CORE_PEER_CHAINCODEADDRESS=peer1.org2.example.com:7083
4331+ - CORE_PEER_CHAINCODELISTENADDRESS=0.0.0.0:7083
4332+ - CORE_PEER_GOSSIP_USELEADERELECTION=true
4333+ - CORE_PEER_GOSSIP_ORGLEADER=false
43194334 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org2.example.com:7082
43204335 - CORE_PEER_GOSSIP_BOOTSTRAP="peer0.org2.example.com:7081 peer1.org2.example.com:7082"
4321- - CORE_PEER_CHAINCODELISTENADDRESS=peer1.org2.example.com:7050
43224336 - CORE_PEER_MSPCONFIGPATH=/etc/hyperledger/fabric/peer/msp
43234337 - CORE_CHAINCODE_BUILDER=hyperledger/fabric-ccenv:\${ FABRIC_CCENV_VERSION }
43244338 - CORE_CHAINCODE_GOLANG_RUNTIME=hyperledger/fabric-baseos:\${ FABRIC_BASEOS_VERSION }
@@ -4341,13 +4355,15 @@ services:
43414355 - CORE_PEER_TLS_CERT_FILE=/etc/hyperledger/fabric/peer/tls/server.crt
43424356 - CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/peer/tls/server.key
43434357 - CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/peer/tls/ca.crt
4358+ - CORE_PEER_TLS_CLIENTAUTHREQUIRED=false
43444359 # enabled gateway
43454360 - CORE_PEER_GATEWAY_ENABLED=true
43464361 working_dir: /etc/hyperledger/fabric/peer/
43474362 command: peer node start
43484363 ports:
43494364 - 8082:9440
43504365 - 7082:7082
4366+ - 7083:7083
43514367 volumes:
43524368 - /var/run/docker.sock:/host/var/run/docker.sock
43534369 - ../fabric-config/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp:/etc/hyperledger/fabric/peer/msp
0 commit comments