Update python_start.sh

Hotfix
This commit is contained in:
Francis Secada 2025-01-22 18:30:55 -05:00 committed by GitHub
parent 27c4d6c91b
commit 85e98cd529
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ __dir="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
cd ${__dir}/../.. || exit cd ${__dir}/../.. || exit
source .venv/bin/activate source .venv/bin/activate
cd src || exit cd src || exit
gunicorn main:app -w ${WORKERS} -k uvicorn.workers.UvicornWorker \ gunicorn app:app -w ${WORKERS} -k uvicorn.workers.UvicornWorker \
--timeout "${TIMEOUT}" \ --timeout "${TIMEOUT}" \
--forwarded-allow-ips "*" \ --forwarded-allow-ips "*" \
-b 0.0.0.0:"${PORT}" -b 0.0.0.0:"${PORT}"