Fix #862: replaced Daphne by Gunicorn/Uvicorn

This commit is contained in:
Eliot Berriot 2019-06-19 10:26:09 +02:00
commit 4de78995c0
13 changed files with 33 additions and 111 deletions

3
api/compose/django/server.sh Executable file
View 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