Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b6b11c8

Browse files
Update entrypoint.sh - Add --host 0.0.0.0 to Uvicorn execution
Fixes deployment error: "The TargetPort 8000 is bound to an inaccessible loopback IP address, bind to a non-loopback IP address instead."
1 parent fe2f72b commit b6b11c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
set -e
3-
python3 -m uvicorn "fastapi_app:create_app" --factory --port 8000
3+
python3 -m uvicorn "fastapi_app:create_app" --factory --host 0.0.0.0 --port 8000

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /