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{