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:
parent
4a11f9b58d
commit
345607cca3
|
@ -9,5 +9,5 @@ funkwhale-manage migrate
|
||||||
exec gunicorn config.asgi:application \
|
exec gunicorn config.asgi:application \
|
||||||
--workers "${FUNKWHALE_WEB_WORKERS-1}" \
|
--workers "${FUNKWHALE_WEB_WORKERS-1}" \
|
||||||
--worker-class uvicorn.workers.UvicornWorker \
|
--worker-class uvicorn.workers.UvicornWorker \
|
||||||
--bind 0.0.0.0:5000 \
|
--bind 0.0.0.0:"${FUNKWHALE_API_PORT}" \
|
||||||
${GUNICORN_ARGS-}
|
${GUNICORN_ARGS-}
|
||||||
|
|
Loading…
Reference in New Issue