1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pytition_ynh.git synced 2024-09-03 20:16:08 +02:00
pytition_ynh/conf/uwsgi.yaml
Yann Sionneau da29c0bc0c Update to Pytition 2.5.1 and fix user image uploads and TinyMCE editors
When uploading images in mediaroot, files must have gid www-data
so that nginx can serve them.
Also, image upload script URL for TinyMCE editor was wrong if STATIC_ROOT
is not '/static/'
Tinymce js url was wrong in this case also.
2022-06-05 23:31:12 +02:00

27 lines
627 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: __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