mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-25 19:14:00 +00:00
testing out uwsgi
This commit is contained in:
parent
c42f2d048a
commit
cc42dfb887
1 changed files with 20 additions and 0 deletions
20
uwsgi.ini
Normal file
20
uwsgi.ini
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue