Skip to content

Supporting Docker Secrets #202

@amir20

Description

@amir20

Hello again,

Would you be open to supporting #{parameter_name}_FILE for also reading configurations from a file? I ask because Docker Secrets writes configurations to a file.

Someone asked on Dozzle if I support this amir20/dozzle#1927

I could support it but maybe this library should also support it. So the logic would be

  1. Try the parameter from cli and look for --parameter-name
  2. Then try for PARAMETER_NAME in ENV
  3. Last if if PARAMETER_NAME_FILE is set, read that file.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    v2-ideasPossible inclusion in V2

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions