Simplified the config. Aim is to get the actual secrets in credstash to be env specific, and not the random collection of things we have at the moment.

Secret definition also includes env specific things such as URLs / Queue prefixes / URLs for providers and so on.
This commit is contained in:
Martyn Inglis
2016-09-07 09:35:31 +01:00
parent 727c00af21
commit c1b00a5f0c
5 changed files with 91 additions and 71 deletions

View File

@@ -41,7 +41,6 @@ def create_app(app_name=None):
from config import configs
application.config.from_object(configs[os.environ['NOTIFY_ENVIRONMENT']])
if app_name:
application.config['NOTIFY_APP_NAME'] = app_name