refactor(api): rename api composer/django/ dir to docker/

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2302>
This commit is contained in:
jo 2022-12-23 15:44:45 +01:00 committed by Marge
commit ede69dd623
3 changed files with 2 additions and 1 deletions

13
api/docker/server.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
set -eux
funkwhale-manage collectstatic --noinput
funkwhale-manage migrate
# shellcheck disable=SC2086
gunicorn config.asgi:application \
--workers "${FUNKWHALE_WEB_WORKERS-1}" \
--worker-class uvicorn.workers.UvicornWorker \
--bind 0.0.0.0:5000 \
${GUNICORN_ARGS-}