2022-11-24 21:14:59 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
set -eux
|
|
|
|
|
|
2023-01-13 16:33:23 +01:00
|
|
|
funkwhale-manage collectstatic --noinput
|
|
|
|
|
funkwhale-manage migrate
|
2022-11-24 21:14:59 +01:00
|
|
|
|
|
|
|
|
# shellcheck disable=SC2086
|
2023-01-17 16:51:33 +01:00
|
|
|
exec gunicorn config.asgi:application \
|
2022-11-24 21:14:59 +01:00
|
|
|
--workers "${FUNKWHALE_WEB_WORKERS-1}" \
|
|
|
|
|
--worker-class uvicorn.workers.UvicornWorker \
|
|
|
|
|
--bind 0.0.0.0:5000 \
|
|
|
|
|
${GUNICORN_ARGS-}
|