From c2f21b2453a03f8c603f27b519bead1b42559c4c Mon Sep 17 00:00:00 2001 From: Ilya Zverev Date: Fri, 15 Dec 2023 23:12:28 +0200 Subject: [PATCH] Expose uvicorn to outside --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 820b3e5..f513f78 100755 --- a/run.sh +++ b/run.sh @@ -29,4 +29,4 @@ if [ ! -d "$VENV" ]; then "$VENV"/bin/pip install -r "$HERE/web/requirements.txt" fi -"$VENV/bin/uvicorn" web.geocoder_fast:app +"$VENV/bin/uvicorn" --host 0.0.0.0 --port 5000 web.geocoder_fast:app