sync ports for operations endpoint with main (#627)

* sync ports for operations endpoint with main

Signed-off-by: Varad Ramamoorthy <varad@us.ibm.com>

* oops! add port mapping

Signed-off-by: Varad Ramamoorthy <varad@us.ibm.com>

* fix address

Signed-off-by: Varad Ramamoorthy <varad@us.ibm.com>
This commit is contained in:
Varad Ramamoorthy 2022-02-03 17:23:02 -05:00 committed by GitHub
parent ad8fc2fba7
commit a72fbc8a91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ services:
- ORDERER_GENERAL_GENESISFILE=/var/hyperledger/orderer/orderer.genesis.block - ORDERER_GENERAL_GENESISFILE=/var/hyperledger/orderer/orderer.genesis.block
- ORDERER_GENERAL_LOCALMSPID=OrdererMSP - ORDERER_GENERAL_LOCALMSPID=OrdererMSP
- ORDERER_GENERAL_LOCALMSPDIR=/var/hyperledger/orderer/msp - ORDERER_GENERAL_LOCALMSPDIR=/var/hyperledger/orderer/msp
- ORDERER_OPERATIONS_LISTENADDRESS=0.0.0.0:17050 - ORDERER_OPERATIONS_LISTENADDRESS=orderer.example.com:9443
# enabled TLS # enabled TLS
- ORDERER_GENERAL_TLS_ENABLED=true - ORDERER_GENERAL_TLS_ENABLED=true
- ORDERER_GENERAL_TLS_PRIVATEKEY=/var/hyperledger/orderer/tls/server.key - ORDERER_GENERAL_TLS_PRIVATEKEY=/var/hyperledger/orderer/tls/server.key
@ -47,7 +47,7 @@ services:
- orderer.example.com:/var/hyperledger/production/orderer - orderer.example.com:/var/hyperledger/production/orderer
ports: ports:
- 7050:7050 - 7050:7050
- 17050:17050 - 9443:9443
networks: networks:
- test - test
@ -74,7 +74,7 @@ services:
- CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.example.com:7051 - CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.example.com:7051
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051
- CORE_PEER_LOCALMSPID=Org1MSP - CORE_PEER_LOCALMSPID=Org1MSP
- CORE_OPERATIONS_LISTENADDRESS=0.0.0.0:17051 - CORE_OPERATIONS_LISTENADDRESS=peer0.org1.example.com:9444
volumes: volumes:
- /var/run/docker.sock:/host/var/run/docker.sock - /var/run/docker.sock:/host/var/run/docker.sock
- ../organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp:/etc/hyperledger/fabric/msp - ../organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp:/etc/hyperledger/fabric/msp
@ -84,7 +84,7 @@ services:
command: peer node start command: peer node start
ports: ports:
- 7051:7051 - 7051:7051
- 17051:17051 - 9444:9444
networks: networks:
- test - test
@ -111,7 +111,7 @@ services:
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org2.example.com:9051 - CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org2.example.com:9051
- CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org2.example.com:9051 - CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org2.example.com:9051
- CORE_PEER_LOCALMSPID=Org2MSP - CORE_PEER_LOCALMSPID=Org2MSP
- CORE_OPERATIONS_LISTENADDRESS=0.0.0.0:19051 - CORE_OPERATIONS_LISTENADDRESS=peer0.org2.example.com:9445
volumes: volumes:
- /var/run/docker.sock:/host/var/run/docker.sock - /var/run/docker.sock:/host/var/run/docker.sock
- ../organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp:/etc/hyperledger/fabric/msp - ../organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp:/etc/hyperledger/fabric/msp
@ -121,7 +121,7 @@ services:
command: peer node start command: peer node start
ports: ports:
- 9051:9051 - 9051:9051
- 19051:19051 - 9445:9445
networks: networks:
- test - test