Skip to content

Allow environment to inject base node ports #11

@asladeofgreen

Description

@asladeofgreen

Currently the node port numbers are derived by adding a node's ordinal identifier to a static constant.

  • E.G. $CCTL_BASE_PORT_RPC + node_idx where CCTL_BASE_PORT_RPC=11000 and <=1 node_idx <= 10.

There is a requirement to allow the deployment environment to override the static constant. This can be achieved via the use of an environment variable per port type. If the env-var is declared then it will be utilised, otherwise the default constant is utilised.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions