From cc42dfb887940fe02da43afc9f9aa5a6ab736fe4 Mon Sep 17 00:00:00 2001 From: kappa118 Date: Sat, 1 Mar 2025 16:57:00 -0500 Subject: [PATCH] testing out uwsgi --- uwsgi.ini | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 uwsgi.ini 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