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

Gunicorn does not allow passing in a list of environment variables #132

Closed
derektamsen opened this issue Oct 21, 2014 · 0 comments · Fixed by #133
Closed

Gunicorn does not allow passing in a list of environment variables #132

derektamsen opened this issue Oct 21, 2014 · 0 comments · Fixed by #133

Comments

@derektamsen
Copy link
Contributor

The gunicorn module does not allow passing in a list of environment variables. It would be great to pass in an array or hash with custom environment variables that the gunicorn user will run with. This can allow some python apps to be configured without settings files or allow custom settings files to be passed in.

Ex. https://github.com/puppet-community/puppetboard#settings will read the os.env var PUPPETBOARD_SETTINGS=/some/file/path/settings.py to allow setting an alternait settings file. This allows for customization of the puppetboard service with out editing the built in settings file or managing a settings.py file in the directory where pip installed puppetboard.

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 a pull request may close this issue.

1 participant