mirror of
https://github.com/YunoHost-Apps/pytition_ynh.git
synced 2024-09-03 20:16:08 +02:00
27 lines
633 B
YAML
27 lines
633 B
YAML
uwsgi:
|
|
# Who will run the code
|
|
uid: __APP__
|
|
gid: www-data
|
|
|
|
# Number of workers
|
|
workers: 10
|
|
|
|
# The right granted on the created socket
|
|
chmod-socket: 666
|
|
vacuum: true
|
|
|
|
# Plugin to use and interpretor config
|
|
master: true
|
|
plugin: python3
|
|
|
|
# Virtualenv and python path
|
|
virtualenv: __INSTALL_DIR__/venv
|
|
pythonpath: __INSTALL_DIR__
|
|
chdir: __INSTALL_DIR__/pytition/pytition
|
|
env: DJANGO_SETTINGS_MODULE=pytition.settings.config
|
|
|
|
socket: /run/__APP__/app.socket
|
|
mount: __PATH__=pytition/wsgi.py
|
|
manage-script-name: true
|
|
|
|
logto: /var/log/__APP__/__APP__-uwsgi.log
|