From 37e5b91dc29da67575e4584a6645bbebfa91d08e Mon Sep 17 00:00:00 2001 From: Andrew Rowson Date: Wed, 13 Mar 2024 17:13:56 +0000 Subject: [PATCH] fix(server): ml gunicorn listen on ipv4 and ipv6 by default (#7930) --- machine-learning/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine-learning/start.sh b/machine-learning/start.sh index 082bf205c4..d4a971f0ce 100755 --- a/machine-learning/start.sh +++ b/machine-learning/start.sh @@ -4,7 +4,7 @@ lib_path="/usr/lib/$(arch)-linux-gnu/libmimalloc.so.2" export LD_PRELOAD="$lib_path" export LD_BIND_NOW=1 -: "${MACHINE_LEARNING_HOST:=0.0.0.0}" +: "${MACHINE_LEARNING_HOST:=[::]}" : "${MACHINE_LEARNING_PORT:=3003}" : "${MACHINE_LEARNING_WORKERS:=1}" : "${MACHINE_LEARNING_WORKER_TIMEOUT:=120}"