summaryrefslogtreecommitdiffstats
path: root/conductor/docker/app.wsgi
diff options
context:
space:
mode:
Diffstat (limited to 'conductor/docker/app.wsgi')
-rw-r--r--conductor/docker/app.wsgi14
1 files changed, 14 insertions, 0 deletions
diff --git a/conductor/docker/app.wsgi b/conductor/docker/app.wsgi
new file mode 100644
index 0000000..91cd980
--- /dev/null
+++ b/conductor/docker/app.wsgi
@@ -0,0 +1,14 @@
+"""Use this file for deploying the API under mod_wsgi.
+See http://pecan.readthedocs.org/en/latest/deployment.html for details.
+"""
+from conductor import service
+from conductor.api import app
+
+# Initialize the oslo configuration library and logging
+
+# Prepare service-wide components (e.g., config)
+conf = service.prepare_service(
+ [], config_files=['/usr/local/etc/conductor/conductor.conf'])
+
+#conf = service.prepare_service([])
+application = app.load_app(conf)