Add flag 'expose ports' with default `true`
Recent Service Discovery changes forced not only exposing orderer's, ca's, peer's ports but also matching port numbers . Example:
- Every peer must be mapped like this:
- 7060:7060 - full peer address must be
peer1.org1.com:7060
This config is need in developers environment. Testing application running on local machine and connecting to docker-compose network, but in CI pipelines, demo environments we don;t need to map anything and containerize our app.
It would be good to have flag for such case in networkSettings section
Hi @Hejwo , could please guide me how to solve this issue as I'm new to fablo ? Could you tell me where to find the networkSettings section ?
Hi @ggold7046 thanks for asking :)
Unfortunately the feature was not yet implemented (I can guide you if you want to help with implementation).
About networkSettings section:
-
expose portsissue is an old one - since that time we've refactored a bit fablo config structure.
-
networkSettingsis now calledglobal - you usually can find it at top of fabloConfig:
{
"$schema": "https://github.com/hyperledger-labs/fablo/releases/download/1.1.0/schema.json",
"global": {
"fabricVersion": "2.4.0",
"tls": false,
"peerDevMode": false
},
I can guide you if you want to help with implementation
Thanks @piotrhejwowski , I would love to try it. So how do I start ? Which file should I dig in ?