mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
feat: custom port for server
This commit is contained in:
parent
5c5bde3b85
commit
a63507c21e
@ -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
|
||||
|
||||
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 New Issue
Block a user