blob: 27448fdf5482fc629eccceed8d8d39b8580d2519 [file] [log] [blame]
gio404e2372025-07-11 12:50:26 +04001## This chart relies on the common library chart from bjw-s
2## You can find it at https://github.com/bjw-s-labs/helm-charts/tree/923ef40a39520979c98f354ea23963ee54f54433/charts/library/common
3## Refer there for more detail about the supported values
4
5# These entries are shared between all the Immich components
6
7env:
8 REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}'
9 DB_HOSTNAME: "{{ .Release.Name }}-postgresql"
10 DB_USERNAME: "{{ .Values.postgresql.global.postgresql.auth.username }}"
11 DB_DATABASE_NAME: "{{ .Values.postgresql.global.postgresql.auth.database }}"
12 # -- You should provide your own secret outside of this helm-chart and use `postgresql.global.postgresql.auth.existingSecret` to provide credentials to the postgresql instance
13 DB_PASSWORD: "{{ .Values.postgresql.global.postgresql.auth.password }}"
14 IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}'
15
16image:
17 tag: v1.119.0
18
19immich:
20 metrics:
21 # Enabling this will create the service monitors needed to monitor immich with the prometheus operator
22 enabled: false
23 persistence:
24 # Main data store for all photos shared between different components.
25 library:
26 # Automatically creating the library volume is not supported by this chart
27 # You have to specify an existing PVC to use
28 existingClaim: data
29 # configuration is immich-config.json converted to yaml
30 # ref: https://immich.app/docs/install/config-file/
31 #
32 configuration: {}
33 # trash:
34 # enabled: false
35 # days: 30
36 # storageTemplate:
37 # enabled: true
38 # template: "{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}"
39 existingConfiguration: ""
40
41# Dependencies
42
43# DEPRECATED
44# The postgres subchart is deprecated and will be removed in chart version 0.10.0
45# See https://github.com/immich-app/immich-charts/issues/149 for more detail.
46postgresql:
47 enabled: true
48 image:
49 repository: tensorchord/pgvecto-rs
50 tag: pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
51 global:
52 postgresql:
53 auth:
54 username: immich
55 database: immich
56 password: immich
57 primary:
58 containerSecurityContext:
59 readOnlyRootFilesystem: false
60 resources:
61 resources:
62 limits:
63 memory: 3Gi
64 requests:
65 memory: 1Gi
66 initdb:
67 scripts:
68 create-extensions.sql: |
69 CREATE EXTENSION cube;
70 CREATE EXTENSION earthdistance;
71 CREATE EXTENSION vectors;
72
73redis:
74 enabled: true
75 architecture: standalone
76 auth:
77 enabled: false
78
79# Immich components
80
81server:
82 enabled: true
83 image:
84 repository: ghcr.io/immich-app/immich-server
85 pullPolicy: IfNotPresent
86 ingress:
87 main:
88 enabled: false
89 annotations:
90 # proxy-body-size is set to 0 to remove the body limit on file uploads
91 nginx.ingress.kubernetes.io/proxy-body-size: "0"
92 hosts:
93 - host: immich.local
94 paths:
95 - path: "/"
96 tls: []
97
98machine-learning:
99 enabled: true
100 image:
101 repository: ghcr.io/immich-app/immich-machine-learning
102 pullPolicy: IfNotPresent
103 env:
104 TRANSFORMERS_CACHE: /cache
105 persistence:
106 cache:
107 enabled: true
108 size: 10Gi
109 # Optional: Set this to pvc to avoid downloading the ML models every start.
110 type: emptyDir
111 accessMode: ReadWriteMany
112 # storageClass: your-class
113
114useDeprecatedPostgresChart: true