diff --git a/scripts/start.sh b/scripts/start.sh index 3868122..71a8054 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -36,7 +36,7 @@ python3 /app/scripts/init.py echo "🦄 Starting gunicorn with $LIBRECHAT_WORKERS workers on $BIND for the module $APP_MODULE with a timeout of $TIMEOUT sec" # exec gunicorn -w "$LIBRECHAT_WORKERS" -k "$WORKER_CLASS" -b "$BIND" --timeout "$TIMEOUT" "$APP_MODULE" -exec uvicorn -b "$BIND" --timeout "$TIMEOUT" "$APP_MODULE" +exec uvicorn --host "0.0.0.0" --port 8000 "$APP_MODULE" # -w: number of worker processes for handling requests [1] # --threads: number of worker threads for handling requests. [1]