Changes related to running oof on TLS/HTTPS
[optf/has.git] / conductor / docker / app.wsgi
diff --git a/conductor/docker/app.wsgi b/conductor/docker/app.wsgi
new file mode 100644 (file)
index 0000000..91cd980
--- /dev/null
@@ -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)