Skip to content
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

Setup env parameter for array in config? #126

Open
musinit opened this issue Jul 27, 2023 · 0 comments
Open

Setup env parameter for array in config? #126

musinit opened this issue Jul 27, 2023 · 0 comments

Comments

@musinit
Copy link

musinit commented Jul 27, 2023

I need to setup the following yml struct (example):
shards:
-
user: "userA"
password: "passwordA"
-
user: "userB"
password: "passwordB"
userA, passwordA, userB, passwordB needs to be fetched from envs.

Are there any ways, how I can do this?
Something like this envs: SHARDS_1_USER, SHARDS_2_PASSWORD

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

No branches or pull requests

1 participant