From b297340d4614cf79f0ee6aa9a33496b43827c0b7 Mon Sep 17 00:00:00 2001 From: zebrapurring <> Date: Mon, 9 Dec 2024 15:11:54 +0100 Subject: [PATCH] Add configuration options for the Machine Learning service --- Scripts/configureimmich.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scripts/configureimmich.sh b/Scripts/configureimmich.sh index de4de33..85b9ca4 100755 --- a/Scripts/configureimmich.sh +++ b/Scripts/configureimmich.sh @@ -50,6 +50,8 @@ if [ ! -f "$IMMICH_SETTINGS_DIR/immich_server.env" ]; then # Network binding IMMICH_HOST="127.0.0.1" IMMICH_PORT="2283" +MACHINE_LEARNING_HOST="127.0.0.1" +MACHINE_LEARNING_PORT="3003" # Production settings NO_COLOR="false" @@ -59,6 +61,7 @@ IMMICH_ENV="production" # Paths configuration IMMICH_MEDIA_LOCATION="$IMMICH_MEDIA_DIR" IMMICH_BUILD_DATA="$IMMICH_APP_DIR/build" +MACHINE_LEARNING_CACHE_FOLDER="$IMMICH_HOME_DIR/.immich-model-cache" # Database connection DB_HOSTNAME="localhost"