← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1399585] Re: Add ability to set settings from environment variables

 

This can be done by using your own (local_)settings file.
Other OpenStack projects do not support configuration via environment variables.

In addition, we are exploring to support configuration through oslo-config style.
I believe the motivation of this bug report can be addressed by this effort.

** Changed in: horizon
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1399585

Title:
  Add ability to set settings from environment variables

Status in OpenStack Dashboard (Horizon):
  Won't Fix

Bug description:
  To ease deployment and configuration, we want to being able to use
  environment variables as settings from horizon django app.

  A use case can be, for example, to set `SECRET_KEY` in a uwsgi
  configuration file provisioned by chef/puppet...

  With env variables, cfg software doesn't have to know very much about
  horizon (and its update) and can add specific settings.

  Another use case is for packaging to set STATIC_ROOT (and push files
  in there own package) without having to change a file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1399585/+subscriptions


References