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:
parent
32c10d72c9
commit
ede69dd623
3 changed files with 2 additions and 1 deletions
13
api/docker/server.sh
Executable file
13
api/docker/server.sh
Executable 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-}
|
||||
Loading…
Add table
Add a link
Reference in a new issue