chore(immich): allow to disable machine-learning container (#4132)
This commit is contained in:
@@ -59,6 +59,11 @@ questions:
|
|||||||
description: simple
|
description: simple
|
||||||
- value: verbose
|
- value: verbose
|
||||||
description: verbose
|
description: verbose
|
||||||
|
- variable: enable_ml
|
||||||
|
label: Enable Machine Learning Container
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
# Include{containerConfig}
|
# Include{containerConfig}
|
||||||
# Include{serviceRoot}
|
# Include{serviceRoot}
|
||||||
- variable: main
|
- variable: main
|
||||||
|
|||||||
@@ -9,7 +9,9 @@
|
|||||||
|
|
||||||
{{- $_ := set .Values.additionalContainers "proxy" (include "immich.proxy" . | fromYaml) -}}
|
{{- $_ := set .Values.additionalContainers "proxy" (include "immich.proxy" . | fromYaml) -}}
|
||||||
{{- $_ := set .Values.additionalContainers "web" (include "immich.web" . | fromYaml) -}}
|
{{- $_ := set .Values.additionalContainers "web" (include "immich.web" . | fromYaml) -}}
|
||||||
|
{{- if .Values.immich.enable_ml -}}
|
||||||
{{- $_ := set .Values.additionalContainers "ml" (include "immich.ml" . | fromYaml) -}}
|
{{- $_ := set .Values.additionalContainers "ml" (include "immich.ml" . | fromYaml) -}}
|
||||||
|
{{- end -}}
|
||||||
{{- $_ := set .Values.additionalContainers "microservices" (include "immich.microservices" . | fromYaml) -}}
|
{{- $_ := set .Values.additionalContainers "microservices" (include "immich.microservices" . | fromYaml) -}}
|
||||||
|
|
||||||
{{/* Render the templates */}}
|
{{/* Render the templates */}}
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ podSecurityContext:
|
|||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
|
|
||||||
immich:
|
immich:
|
||||||
|
enable_ml: true
|
||||||
public_login_page_message: Immich
|
public_login_page_message: Immich
|
||||||
disable_reverse_geocoding: false
|
disable_reverse_geocoding: false
|
||||||
reverse_geocoding_precision: 3
|
reverse_geocoding_precision: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user