Skip to content

Improved environment variable support#165

Merged
tolbrino merged 3 commits intomainfrom
tb/202502-env-vars
Feb 20, 2025
Merged

Improved environment variable support#165
tolbrino merged 3 commits intomainfrom
tb/202502-env-vars

Conversation

@tolbrino
Copy link
Collaborator

This PR updates the hoprd image to the latest version in the singapore branch.

Moreover, it adds 2 explicit env vars to be configured by the user:

HOPRD_MAX_BLOCK_RANGE
HOPRD_MAX_RPC_REQUESTS_PER_SEC

And 2 auxiliary env vars which can be used to either add more env vars to the hoprd process or pass on cmdline arguments:

ADDITIONAL_CMDLINE_ARGS
ADDITIONAL_ENVIRONMENT_VARS

Examples uses of these env vars look like this:

ADDITIONAL_CMDLINE_ARGS="--maxRpcRequestsPerSec 100"
ADDITIONAL_ENVIRONMENT_VARS="SOME_SWARM_CONF=10 SOME_OTHER_CONF=34"

@tolbrino tolbrino self-assigned this Feb 20, 2025
@tolbrino tolbrino changed the title Tb/202502 env vars Improved environment variable support Feb 20, 2025
@tolbrino tolbrino merged commit 22a99ea into main Feb 20, 2025
1 check passed
@tolbrino tolbrino deleted the tb/202502-env-vars branch February 20, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants