mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
fixed uwsgi ini files
This commit is contained in:
parent
9c84b65302
commit
fedc0d679f
3 changed files with 23 additions and 4 deletions
19
uwsgi.aio.ini
Normal file
19
uwsgi.aio.ini
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[uwsgi]
|
||||
exec-pre-app = python manage.py collectstatic --noinput
|
||||
exec-pre-app = 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 = celery -A dispatcharr worker -l info
|
||||
attach-daemon = redis-server
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
[uwsgi]
|
||||
preexec = python manage.py collectstatic --noinput
|
||||
preexec = python manage.py migrate --noinput
|
||||
exec-pre-app = python manage.py collectstatic --noinput
|
||||
exec-pre-app = python manage.py migrate --noinput
|
||||
|
||||
http-socket = [::]:5656
|
||||
buffer-size = 32768
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[uwsgi]
|
||||
preexec = python manage.py collectstatic --noinput
|
||||
preexec = python manage.py migrate --noinput
|
||||
exec-pre-app = python manage.py collectstatic --noinput
|
||||
exec-pre-app = python manage.py migrate --noinput
|
||||
|
||||
http-socket = [::]:9191
|
||||
buffer-size = 32768
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue