Skip to content

Setup env parameter for array in config? #126

Open
@musinit

Description

@musinit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions