use exec-before so these aren't executed once per worker, added daphne for websockets

This commit is contained in:
dekzter 2025-03-05 14:15:25 -05:00
parent 412b799d7b
commit 31b1f1fe36

View file

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