-
Notifications
You must be signed in to change notification settings - Fork 281
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
Allow custom configuration options via env variables #142
Comments
What is the status of this issue ? |
I need to be able to configure authentication. Can we place merge one of the various pull requests that fixes this? |
I agree, why not supporting all configuration parameters via env file, or at least a possibility to point to a custom configuration file location via env var ? |
I'm sorry, but honestly if we're going to do anything more with environment variables it would likely be in the opposite direction (which we won't do due to the backwards compatibility implications) -- modifying a YAML file via shell script is very fragile, and setting complex configuration in this way is not great. For custom configuration, the only/best recommendation is to provide an appropriate Closing in favor of #160 + docker-library/docs#1317. |
This would make it easy to override any configuration.
For example:
The script that already
sed
s the config could just check for a pattern in the environment variables and apply whatever config the user needs.Makes it easy to work with Kubernetes, docker-compose, etc.
The text was updated successfully, but these errors were encountered: