mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
use exec-before so these aren't executed once per worker, added daphne for websockets
This commit is contained in:
parent
412b799d7b
commit
31b1f1fe36
1 changed files with 3 additions and 2 deletions
|
|
@ -1,10 +1,11 @@
|
|||
[uwsgi]
|
||||
exec-pre-app = python manage.py collectstatic --noinput
|
||||
exec-pre-app = python manage.py migrate --noinput
|
||||
exec-before = python manage.py collectstatic --noinput
|
||||
exec-before = python manage.py migrate --noinput
|
||||
|
||||
attach-daemon = celery -A dispatcharr worker -l info
|
||||
attach-daemon = redis-server
|
||||
attach-daemon = cd /app/frontend && npm run start
|
||||
attach-daemon = daphne -b 0.0.0.0 -p 8001 dispatcharr.asgi:application
|
||||
|
||||
# Core settings
|
||||
chdir = /app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue