Update machine-learning-port

This commit is contained in:
Daniel Cosme
2026-05-06 18:36:13 -04:00
parent a283c9794f
commit 9ed2e10454
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ spec:
containers: containers:
- env: - env:
- name: IMMICH_PORT - name: IMMICH_PORT
value: "2283" value: "3003"
image: ghcr.io/immich-app/immich-machine-learning:v2.7.5 image: ghcr.io/immich-app/immich-machine-learning:v2.7.5
name: immich-machine-learning name: immich-machine-learning
resources: {} resources: {}

View File

@@ -84,7 +84,7 @@ func Stack() stack.Stack {
func MachineLearning() apps.Deployment { func MachineLearning() apps.Deployment {
envMapping := map[string]string{ envMapping := map[string]string{
// "REDIS_PORT": fmt.Sprintf("%d", RedisPort), // "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) cacheVol := kube.NewVolumeFrom(kube.VolumeSourcePVC, "cache", machine_learning_pvc.Name)
podSpec := core.PodSpec{ podSpec := core.PodSpec{