Ensured credstash is located only with the wsgi/gunicorn code.

This commit is contained in:
Martyn Inglis
2016-01-11 09:59:31 +00:00
parent 42b62ce7cd
commit 7efa513777
3 changed files with 14 additions and 11 deletions

View File

@@ -1,6 +1,9 @@
from app import create_app
from credstash import getAllSecrets
application = create_app('live')
secrets = getAllSecrets(region="eu-west-1")
application = create_app('live', secrets)
if __name__ == "__main__":
application.run()