mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
expose operations port (#453)
Signed-off-by: Varad Ramamoorthy <varad@us.ibm.com>
This commit is contained in:
parent
1cd71fd26a
commit
5e933c10cb
2 changed files with 12 additions and 0 deletions
|
|
@ -20,8 +20,10 @@ services:
|
|||
- FABRIC_CA_SERVER_CA_NAME=ca-org1
|
||||
- FABRIC_CA_SERVER_TLS_ENABLED=true
|
||||
- FABRIC_CA_SERVER_PORT=7054
|
||||
- FABRIC_CA_SERVER_OPERATIONS_LISTENADDRESS=0.0.0.0:17054
|
||||
ports:
|
||||
- "7054:7054"
|
||||
- "17054:17054"
|
||||
command: sh -c 'fabric-ca-server start -b admin:adminpw -d'
|
||||
volumes:
|
||||
- ../organizations/fabric-ca/org1:/etc/hyperledger/fabric-ca-server
|
||||
|
|
@ -38,8 +40,10 @@ services:
|
|||
- FABRIC_CA_SERVER_CA_NAME=ca-org2
|
||||
- FABRIC_CA_SERVER_TLS_ENABLED=true
|
||||
- FABRIC_CA_SERVER_PORT=8054
|
||||
- FABRIC_CA_SERVER_OPERATIONS_LISTENADDRESS=0.0.0.0:18054
|
||||
ports:
|
||||
- "8054:8054"
|
||||
- "18054:18054"
|
||||
command: sh -c 'fabric-ca-server start -b admin:adminpw -d'
|
||||
volumes:
|
||||
- ../organizations/fabric-ca/org2:/etc/hyperledger/fabric-ca-server
|
||||
|
|
@ -56,8 +60,10 @@ services:
|
|||
- FABRIC_CA_SERVER_CA_NAME=ca-orderer
|
||||
- FABRIC_CA_SERVER_TLS_ENABLED=true
|
||||
- FABRIC_CA_SERVER_PORT=9054
|
||||
- FABRIC_CA_SERVER_OPERATIONS_LISTENADDRESS=0.0.0.0:19054
|
||||
ports:
|
||||
- "9054:9054"
|
||||
- "19054:19054"
|
||||
command: sh -c 'fabric-ca-server start -b admin:adminpw -d'
|
||||
volumes:
|
||||
- ../organizations/fabric-ca/ordererOrg:/etc/hyperledger/fabric-ca-server
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ services:
|
|||
- ORDERER_ADMIN_TLS_ROOTCAS=[/var/hyperledger/orderer/tls/ca.crt]
|
||||
- ORDERER_ADMIN_TLS_CLIENTROOTCAS=[/var/hyperledger/orderer/tls/ca.crt]
|
||||
- ORDERER_ADMIN_LISTENADDRESS=0.0.0.0:7053
|
||||
- ORDERER_OPERATIONS_LISTENADDRESS=0.0.0.0:17050
|
||||
working_dir: /opt/gopath/src/github.com/hyperledger/fabric
|
||||
command: orderer
|
||||
volumes:
|
||||
|
|
@ -55,6 +56,7 @@ services:
|
|||
ports:
|
||||
- 7050:7050
|
||||
- 7053:7053
|
||||
- 17050:17050
|
||||
networks:
|
||||
- test
|
||||
|
||||
|
|
@ -83,6 +85,7 @@ services:
|
|||
- CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.example.com:7051
|
||||
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org1.example.com:7051
|
||||
- CORE_PEER_LOCALMSPID=Org1MSP
|
||||
- CORE_OPERATIONS_LISTENADDRESS=0.0.0.0:17051
|
||||
volumes:
|
||||
- /var/run/docker.sock:/host/var/run/docker.sock
|
||||
- ../organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp:/etc/hyperledger/fabric/msp
|
||||
|
|
@ -92,6 +95,7 @@ services:
|
|||
command: peer node start
|
||||
ports:
|
||||
- 7051:7051
|
||||
- 17051:17051
|
||||
networks:
|
||||
- test
|
||||
|
||||
|
|
@ -120,6 +124,7 @@ services:
|
|||
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer0.org2.example.com:9051
|
||||
- CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org2.example.com:9051
|
||||
- CORE_PEER_LOCALMSPID=Org2MSP
|
||||
- CORE_OPERATIONS_LISTENADDRESS=0.0.0.0:19051
|
||||
volumes:
|
||||
- /var/run/docker.sock:/host/var/run/docker.sock
|
||||
- ../organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp:/etc/hyperledger/fabric/msp
|
||||
|
|
@ -129,6 +134,7 @@ services:
|
|||
command: peer node start
|
||||
ports:
|
||||
- 9051:9051
|
||||
- 19051:19051
|
||||
networks:
|
||||
- test
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue