listening port was hardcoded, no matter what the FUNKWHALE_API_PORT env var was set to, API would only listen on 5000. added env var to command to fix issue.

This commit is contained in:
vincent carter 2024-04-27 00:24:30 +00:00 committed by petitminion
parent 4a11f9b58d
commit 345607cca3
1 changed files with 1 additions and 1 deletions

View File

@ -9,5 +9,5 @@ funkwhale-manage migrate
exec gunicorn config.asgi:application \
--workers "${FUNKWHALE_WEB_WORKERS-1}" \
--worker-class uvicorn.workers.UvicornWorker \
--bind 0.0.0.0:5000 \
--bind 0.0.0.0:"${FUNKWHALE_API_PORT}" \
${GUNICORN_ARGS-}