Major Hayden 2b5fe2ef79 Implement uWSGI for heat api services
As part of the Pike goals we are moving api services to run as WSGI
apps. heat-api, heat-api-cfn, and heat-api-cloudwatch are now set
up as WSGI apps.

Since this is just a drop in replacement for existing eventlet services,
operators and deployers should not notice a difference.

Change-Id: I3dba17c33a7f1a1b9a03020a650e258099b4d20d
Implements: blueprint goal-deploy-api-in-wsgi
2017-08-03 13:45:55 +01:00

20 lines
527 B
Django/Jinja

[uwsgi]
uid = {{ heat_system_user_name }}
gid = {{ heat_system_group_name }}
virtualenv = /openstack/venvs/heat-{{ heat_venv_tag }}
wsgi-file = {{ heat_bin }}/{{ item.wsgi_name }}
http-socket = {{ item.uwsgi_bind_address }}:{{ item.uwsgi_port }}
master = true
enable-threads = true
processes = {{ heat_wsgi_processes }}
threads = {{ heat_wsgi_threads }}
exit-on-reload = true
die-on-term = true
lazy-apps = true
add-header = Connection: close
buffer-size = {{ heat_wsgi_buffer_size }}
thunder-lock = true
logfile-chmod = 644