hyperledger-labs / fablo

Fablo is a simple tool to generate the Hyperledger Fabric blockchain network and run it on Docker. It supports RAFT and solo consensus protocols, multiple organizations and channels, chaincode installation and upgrade.
Apache License 2.0
195 stars 71 forks source link

Upgrade Blockchain Explorer version (2.0.0) #447

Open torrespro opened 6 months ago

SkySingh04 commented 5 months ago

Hey, to which file does this changes need to be made? CC: @dzikowski @torrespro

sky107 commented 1 month ago

which port explorer I can access it once I enable in config file

dzikowski commented 1 month ago

explorer ports are 7010 + orgIndex, so 7010 for the first organization, 7011 for the second one etc. Here is the code:

const getPortsForOrg = (orgIndex: number) => ({
  caPort: 7020 + 20 * orgIndex,
  headPeerPort: 7021 + 20 * orgIndex,
  headOrdererPort: 7030 + 20 * orgIndex,
  headPeerCouchDbPort: 5080 + 20 * orgIndex,
  fabloRestPort: 8800 + orgIndex,
  explorerPort: 7010 + orgIndex,
});

You can also check them in fablo-target/fabric-docker/docker-compose.yaml file.