Skip to content

Conversation

BSFishy
Copy link
Contributor

@BSFishy BSFishy commented Sep 26, 2025

Allows yaml files to include !ENV tags so that environment variables can be passed through to the config. E.g.

instances:
  sonarr:
    - base_url: "http://sonarr.media"
      api_key: !ENV SONARR_API_KEY

  radarr:
    - base_url: "http://radarr.media"
      api_key: !ENV RADARR_API_KEY

Fixes #294

@ManiMatter
Copy link
Owner

Thank you for the contribution.
Would it make sense to mention this feature in the readme?

Signed-off-by: Matt Provost <[email protected]>
@BSFishy
Copy link
Contributor Author

BSFishy commented Sep 26, 2025

Updated readme :) let me know if the wording looks good

@ManiMatter
Copy link
Owner

I think it‘s good (deleted my previous comnent), thanks a lot for the contribution

@ManiMatter ManiMatter merged commit e583167 into ManiMatter:dev Sep 29, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

Unable to read environment variables from YAML
2 participants