From 345607cca395ee30c5eeb2b75807b3d9475f30ac Mon Sep 17 00:00:00 2001 From: vincent carter Date: Sat, 27 Apr 2024 00:24:30 +0000 Subject: [PATCH] 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. --- api/docker/server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/docker/server.sh b/api/docker/server.sh index 50ec5f7b7..e4aebcb98 100755 --- a/api/docker/server.sh +++ b/api/docker/server.sh @@ -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-}