hashgraph / hedera-local-node

Run your own local Hedera network for development purposes.
Apache License 2.0
54 stars 58 forks source link

Add a mechanism to override all of the relay's env variables without explicitly exposing them manually #611

Open natanasow opened 5 months ago

natanasow commented 5 months ago

🆕🐥 First Timers Only

This issue is reserved for people who have never contributed to Hedera or any open source project in general. We know that creating a pull request (PR) is a major barrier for new contributors. The goal of this issue and all other issues labeled by 'Good First Issue' is to help you make your first contribution to Hedera.

👾 Description of the issue

Currently, there is no natural way to override a relay's env if it's been added recently and not manually exposed in the local node as a config variable. All of the available overrides are described here and they are mapped to the relay's container here, again manually.

Proposed Solution:

Аdd an ability to pass an entire user's defined .env file (or a single env variable) to the relay's container.

📋 Step by step guide to do a contribution

If you have never contributed to an open source project at GitHub, the following step-by-step guide will introduce you to the workflow. More information and concrete samples for shell commands for each step can be found in our CONTRIBUTING.md file. A more detailed general documentation of the GitHub PR workflow can be found here.

🎉 Contribute to Hacktoberfest

Solve this issue as part of the Hacktoberfest event and get a chance to receive cool goodies like a T-Shirt. 🎽

🤔 Additional Information

If you have any questions, just ask us directly in this issue by adding a comment. You can join our community chat at Discord. A general manual about open-source contributions can be found here.

hendrikebbers commented 5 days ago

@natanasow, can you add some more detail to the description? For me, it is not really clear what needs to be done.