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

Add support for templating / environment variables in config file #78

Closed
glenn-m opened this issue Mar 14, 2023 · 2 comments
Closed

Add support for templating / environment variables in config file #78

glenn-m opened this issue Mar 14, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@glenn-m
Copy link

glenn-m commented Mar 14, 2023

Is it possible to configure secrets via env vars, instead of leaving them in the config file?

It looks like authentication_key is the only one with an env var exposed?

@Luzifer
Copy link
Owner

Luzifer commented Mar 14, 2023

Not at the moment. The only available environment variables are for the flags (CONFIG, COOKIE_AUTHENTICATION_KEY, FRONTEND_DIR). The config file currently does not support templating and therefore does not support loading env-vars.

Though that's a good addition so I'll keep this open as a feature request to support templating in the configuration YAML to read environment variables / ...

@Luzifer Luzifer added the enhancement New feature or request label Mar 14, 2023
@Luzifer Luzifer self-assigned this Mar 14, 2023
@Luzifer Luzifer changed the title Configuration via env vars possible? Add support for templating / environment variables in config file Mar 14, 2023
@glenn-m
Copy link
Author

glenn-m commented Jul 31, 2023

@Luzifer Thanks for implementing this, I appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants