2014-12-22 18:03:40 -05:00
|
|
|
---
|
|
|
|
# defaults file for ansible-nginx-uwsgi-supervisor
|
2015-01-14 08:10:04 -05:00
|
|
|
|
|
|
|
# Web root paths + app name + home
|
2016-05-17 23:39:35 -04:00
|
|
|
uwsgi_web_root_path: /srv/www
|
|
|
|
uwsgi_web_server_group: www-data
|
2015-01-21 09:05:19 -05:00
|
|
|
|
2016-05-17 23:39:35 -04:00
|
|
|
uwsgi_app_name: app
|
|
|
|
uwsgi_app_root_path: "{{ uwsgi_web_root_path }}/{{ uwsgi_app_name }}_webapp"
|
2015-01-14 08:10:04 -05:00
|
|
|
|
|
|
|
# NGINX
|
2016-05-17 23:39:35 -04:00
|
|
|
uwsgi_app_hostname: localhost
|
|
|
|
uwsgi_app_static_path: "{{ uwsgi_app_root_path }}/{{ uwsgi_app_name }}/static/"
|
2015-01-14 08:10:04 -05:00
|
|
|
|
|
|
|
# UWSGI
|
2016-05-17 23:39:35 -04:00
|
|
|
uwsgi_app_port: 8000
|
|
|
|
uwsgi_app_executable: "app:make_wsgi_app()"
|
|
|
|
uwsgi_app_envs: {}
|
2015-07-21 07:35:26 -04:00
|
|
|
|
|
|
|
# Virtualenvs
|
2016-05-17 23:39:35 -04:00
|
|
|
uwsgi_virtualenv_root_path: "{{ uwsgi_web_root_path }}/virtualenvs"
|
|
|
|
uwsgi_app_venv: "{{ uwsgi_virtualenv_root_path }}/{{ uwsgi_app_name }}"
|