microstack/snap-overlay/templates/horizon.ini.j2
Pete Vander Giessen c686b13d8f
Fix horizon (#23)
Fixed dashboard errors.

Added a proper uwsgi script with matching .ini templates.

Added django settings files that fix issues with Django attempting to write files to the read only snap filesystem, and generally make things work well in the snap.

Fixed snap-openstack.yaml entries so that our file and directory setup is accurate.
2018-11-07 16:30:20 -05:00

12 lines
249 B
Django/Jinja

[uwsgi]
wsgi-file = {{ snap }}/bin/horizon-wsgi
uwsgi-socket = {{ snap_common }}/run/horizon.sock
buffer-size = 65535
master = true
enable-threads = true
processes = 4
thunder-lock = true
lazy-apps = true
home = {{ snap }}/usr
pyargv = {{ pyargv }}