From 6911e1396e1077465a84a8fd4cfd2ee807e27f44 Mon Sep 17 00:00:00 2001 From: CCarpo Date: Wed, 6 Aug 2025 15:51:36 +0200 Subject: [PATCH] use the HOST environment variable to bind to another interface than 0.0.0.0 I have external IPv6 only. So to use spotizerr I need to bind the application to [::] e.g. via an environment variable like HOST --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index b044505..253979f 100755 --- a/app.py +++ b/app.py @@ -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