Merge pull request #212 from ccarpo/patch-2

use the HOST environment variable to bind to another interface than 0.0.0.0
This commit is contained in:
Xoconoch
2025-08-06 11:07:05 -06:00
committed by GitHub

2
app.py
View File

@@ -271,7 +271,7 @@ if __name__ == "__main__":
# Run with uvicorn
uvicorn.run(
app,
host="0.0.0.0",
host="${HOST:-0.0.0.0}",
port=7171,
log_level="info",
access_log=True