← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
     Assignee: Guilhem Lettron (guilhem-fr)
         Status: In Progress

** Description changed:

  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 without having to
- change a file.
+ Another use case is for packaging to set STATIC_ROOT (and push files in
+ there own package) without having to change a file.

-- 
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):
  In Progress

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


Follow ups

References