forked from open-webui/open-webui
feat: custom port for server
This commit is contained in:
parent
5c5bde3b85
commit
a63507c21e
2 changed files with 4 additions and 2 deletions
|
@ -1 +1,2 @@
|
||||||
uvicorn main:app --port 8080 --host 0.0.0.0 --forwarded-allow-ips '*' --reload
|
SERVER_PORT="${SERVER_PORT:-8080}"
|
||||||
|
uvicorn main:app --port $SERVER_PORT --host 0.0.0.0 --forwarded-allow-ips '*' --reload
|
|
@ -1,3 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
uvicorn main:app --host 0.0.0.0 --port 8080 --forwarded-allow-ips '*'
|
SERVER_PORT="${SERVER_PORT:-8080}"
|
||||||
|
uvicorn main:app --host 0.0.0.0 --port $SERVER_PORT --forwarded-allow-ips '*'
|
||||||
|
|
Loading…
Reference in a new issue