From 9ed2e104540521144c4a2d03c1511651b80711ea Mon Sep 17 00:00:00 2001 From: Daniel Cosme Date: Wed, 6 May 2026 18:36:13 -0400 Subject: [PATCH] Update machine-learning-port --- apps/hydra/immich/machine-learning.yaml | 2 +- pkg/immich/immich.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/hydra/immich/machine-learning.yaml b/apps/hydra/immich/machine-learning.yaml index 7f00a36..4cb40da 100644 --- a/apps/hydra/immich/machine-learning.yaml +++ b/apps/hydra/immich/machine-learning.yaml @@ -18,7 +18,7 @@ spec: containers: - env: - name: IMMICH_PORT - value: "2283" + value: "3003" image: ghcr.io/immich-app/immich-machine-learning:v2.7.5 name: immich-machine-learning resources: {} diff --git a/pkg/immich/immich.go b/pkg/immich/immich.go index ced3881..43a7633 100644 --- a/pkg/immich/immich.go +++ b/pkg/immich/immich.go @@ -84,7 +84,7 @@ func Stack() stack.Stack { func MachineLearning() apps.Deployment { envMapping := map[string]string{ // "REDIS_PORT": fmt.Sprintf("%d", RedisPort), - "IMMICH_PORT": fmt.Sprintf("%d", root.Immich.Port), + "IMMICH_PORT": fmt.Sprintf("%d", MachineLearningPort), } cacheVol := kube.NewVolumeFrom(kube.VolumeSourcePVC, "cache", machine_learning_pvc.Name) podSpec := core.PodSpec{