summaryrefslogtreecommitdiffstats
path: root/conductor/docker/app.wsgi
blob: 91cd9801b9293c94e96087a818a4b00181f3421a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)