-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DO-1920 / allow user specific config #97
Conversation
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
@@ -120,13 +121,19 @@ def config(args): | |||
|
|||
|
|||
@dockercommand([ | |||
argument("-a", "--autoapprove", help="Pass this option to run without any prompts. " | |||
"Use this for automation purpose only", action="store_true"), | |||
argument("-aue", "--advanceduserenvs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parameter advanced user doesn't seem right. As this is specific to extra config, probably extranodeconfig
or additionalnodeconfig
might be better name
@@ -9,6 +9,10 @@ services: | |||
core: | |||
cap_add: | |||
- NET_ADMIN | |||
{% if core_node.advanced_user_envs is defined and core_node.advanced_user_envs is not none %} | |||
env_file: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not mount the file so that it gets picked up here https://github.com/radixdlt/babylon-node/blob/main/docker/build_scripts/config_radixdlt.sh#L15
That way, the additional config doesn't need a environment variable definition at docker level?
Or do you think this is better option and why?
No description provided.