From 7a478b7ab1e6eea20924a36a89f9e33374698c34 Mon Sep 17 00:00:00 2001 From: forest Date: Tue, 19 May 2020 22:55:08 -0500 Subject: [PATCH] read config properly --- capsulflask/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/capsulflask/__init__.py b/capsulflask/__init__.py index 3d84f38..da4ebd7 100644 --- a/capsulflask/__init__.py +++ b/capsulflask/__init__.py @@ -19,6 +19,7 @@ app = Flask(__name__) app.config.from_mapping( BASE_URL=os.environ.get("BASE_URL", default="http://localhost:5000"), SECRET_KEY=os.environ.get("SECRET_KEY", default="dev"), + VIRTUALIZATION_MODEL=os.environ.get("VIRTUALIZATION_MODEL", default="mock"), LOG_LEVEL=os.environ.get("LOG_LEVEL", default="INFO"), DATABASE_URL=os.environ.get("DATABASE_URL", default="sql://postgres:dev@localhost:5432/postgres"),