Fix #862: replaced Daphne by Gunicorn/Uvicorn
This commit is contained in:
parent
2ddd721f6b
commit
4de78995c0
13 changed files with 33 additions and 111 deletions
3
api/compose/django/server.sh
Executable file
3
api/compose/django/server.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash -eux
|
||||
python /app/manage.py collectstatic --noinput
|
||||
gunicorn config.asgi:application -w ${FUNKWHALE_WEB_WORKERS-1} -k uvicorn.workers.UvicornWorker -b 0.0.0.0:5000
|
||||
Loading…
Add table
Add a link
Reference in a new issue