mirror of
https://github.com/YunoHost-Apps/pytition_ynh.git
synced 2024-09-03 20:16:08 +02:00
28 lines
627 B
YAML
28 lines
627 B
YAML
|
uwsgi:
|
||
|
# Who will run the code
|
||
|
uid: __APP__
|
||
|
gid: __APP__
|
||
|
|
||
|
# 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: __FINALPATH__/venv
|
||
|
pythonpath: __FINALPATH__
|
||
|
chdir: __FINALPATH__/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
|