testing out uwsgi

This commit is contained in:
kappa118 2025-03-01 16:57:00 -05:00
parent c42f2d048a
commit cc42dfb887

20
uwsgi.ini Normal file
View file

@ -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