We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df09401 commit 4291fe6Copy full SHA for 4291fe6
1 file changed
scripts/app-start.sh
@@ -1,6 +1,7 @@
1
#!/usr/bin/env bash
2
3
export PORT=${PORT:-8000}
4
+export HOST=${HOST:-"0.0.0.0"}
5
export WORKERS=${WORKERS:-1}
6
7
NUMREGEX="^[0-9]+$"
@@ -25,7 +26,7 @@ fi
25
26
${OPTIONAL_TIMEOUT} \
27
uvicorn prepline_general.api.app:app \
28
--log-config logger_config.yaml \
- --host 0.0.0.0 \
29
+ --host "$HOST" \
30
--port "$PORT" \
31
--workers "$WORKERS" \
32
0 commit comments