mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
Fix proxy server railway deployment
On Railway you need to use the PORT env var for the port
This commit is contained in:
parent
738a3b9a8a
commit
fd930e5929
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ def get_models():
|
|||
|
||||
if __name__ == "__main__":
|
||||
from waitress import serve
|
||||
serve(app, host="0.0.0.0", port=5000, threads=500)
|
||||
serve(app, host="0.0.0.0", port=os.environ.get("PORT", 5000), threads=500)
|
||||
|
||||
############### Advanced ##########################
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue