ansible/roles/constellation-front/templates/uwsgi/apps-available/constellation.ini.j2

24 lines
674 B
Django/Jinja

{{ ansible_header | comment }}
[uwsgi]
uid = www-data
gid = www-data
# Django-related settings
# the base directory (full path)
chdir = {{ project_path }}
wsgi-file = {{ module_path }}/wsgi.py
plugin = python3
# process-related settings
# master
master = true
# maximum number of worker processes
processes = 10
# the socket (use the full path to be safe
socket = /var/run/uwsgi/app/constellation/constellation.sock
# ... with appropriate permissions - may be needed
chmod-socket = 664
# clear environment on exit
vacuum = true
# Touch reload
touch-reload = {{ module_path }}/settings.py