diff --git a/uwsgi.ini b/uwsgi.ini new file mode 100644 index 00000000..cb2f715e --- /dev/null +++ b/uwsgi.ini @@ -0,0 +1,20 @@ +[uwsgi] +preexec = python manage.py collectstatic --noinput +preexec = python manage.py migrate --noinput + +http-socket = [::]:9191 +buffer-size = 32768 +enable-threads +plugin = python3 +module = dispatcharr.wsgi:application +static-map = /static=staticfiles +thunder-lock +disable-write-exception + +virtualenv = /dispatcharrpy + +max-fd = 10000 + +; attach-daemon = npm run start +; attach-daemon = python3 ./manage.py sendreports --loop +; attach-daemon = python3 ./manage.py smtpd --port 2525