2024-03-22 21:09:37 -04:00
|
|
|
image:
|
|
|
|
repository: altran1502/immich-server
|
2024-04-05 03:04:01 -04:00
|
|
|
tag: v1.101.0@sha256:0097562444db38ebd2e5f98e71bd27dc6dd69b7f786207f7d323febbf99b8f93
|
2024-03-22 21:09:37 -04:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
mlImage:
|
|
|
|
repository: altran1502/immich-machine-learning
|
|
|
|
pullPolicy: IfNotPresent
|
2024-04-05 03:04:01 -04:00
|
|
|
tag: v1.101.0@sha256:b0a22ca87496019f495ed5ce89df08da237e0987d389376b435b2226a8c29463
|
2024-03-22 21:09:37 -04:00
|
|
|
|
|
|
|
mlCudaImage:
|
|
|
|
repository: altran1502/immich-machine-learning
|
|
|
|
pullPolicy: IfNotPresent
|
2024-04-05 03:04:01 -04:00
|
|
|
tag: v1.101.0-cuda@sha256:923b9c8f13cffcc7b7769b90bf15e6e3d5820cce5f0b74ee4ccf4985755cd0e6
|
2024-03-22 21:09:37 -04:00
|
|
|
|
|
|
|
mlOpenvinoImage:
|
|
|
|
repository: altran1502/immich-machine-learning
|
|
|
|
pullPolicy: IfNotPresent
|
2024-04-05 03:04:01 -04:00
|
|
|
tag: v1.101.0-openvino@sha256:969d6f29831a02643defb40ddc6153c179b2b3f06d7528207a6816ddc43b3bf2
|
2024-03-22 21:09:37 -04:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
immich:
|
|
|
|
enable_ml: true
|
|
|
|
mlImageType: mlImage
|
|
|
|
log_level: log
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
# Main service targets the server
|
|
|
|
targetSelector: main
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10323
|
|
|
|
protocol: http
|
|
|
|
targetSelector: main
|
|
|
|
microservices:
|
|
|
|
enabled: true
|
|
|
|
type: ClusterIP
|
|
|
|
targetSelector: microservices
|
|
|
|
ports:
|
|
|
|
microservices:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
port: 10004
|
|
|
|
protocol: http
|
|
|
|
targetSelector: microservices
|
|
|
|
machinelearning:
|
|
|
|
enabled: true
|
|
|
|
type: ClusterIP
|
|
|
|
targetSelector: machinelearning
|
|
|
|
ports:
|
|
|
|
machinelearning:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
port: 10003
|
|
|
|
protocol: http
|
|
|
|
targetSelector: machinelearning
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
mlcache:
|
|
|
|
enabled: true
|
|
|
|
type: emptyDir
|
|
|
|
targetSelector:
|
|
|
|
machinelearning:
|
|
|
|
machinelearning:
|
|
|
|
mountPath: /mlcache
|
|
|
|
microcache:
|
|
|
|
enabled: true
|
|
|
|
type: emptyDir
|
|
|
|
targetSelector:
|
|
|
|
microservices:
|
|
|
|
microservices:
|
|
|
|
mountPath: /microcache
|
|
|
|
library:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /usr/src/app/upload/library
|
|
|
|
targetSelector:
|
|
|
|
# Main pod/container is server
|
|
|
|
main:
|
|
|
|
main: {}
|
|
|
|
microservices:
|
|
|
|
microservices: {}
|
|
|
|
uploads:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /usr/src/app/upload/upload
|
|
|
|
targetSelector:
|
|
|
|
# Main pod/container is server
|
|
|
|
main:
|
|
|
|
main: {}
|
|
|
|
microservices:
|
|
|
|
microservices: {}
|
|
|
|
thumbs:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /usr/src/app/upload/thumbs
|
|
|
|
targetSelector:
|
|
|
|
# Main pod/container is server
|
|
|
|
main:
|
|
|
|
main: {}
|
|
|
|
microservices:
|
|
|
|
microservices: {}
|
|
|
|
profile:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /usr/src/app/upload/profile
|
|
|
|
targetSelector:
|
|
|
|
# Main pod/container is server
|
|
|
|
main:
|
|
|
|
main: {}
|
|
|
|
microservices:
|
|
|
|
microservices: {}
|
|
|
|
video:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /usr/src/app/upload/encoded-video
|
|
|
|
targetSelector:
|
|
|
|
# Main pod/container is server
|
|
|
|
main:
|
|
|
|
main: {}
|
|
|
|
microservices:
|
|
|
|
microservices: {}
|
|
|
|
|
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: immich
|
|
|
|
database: immich
|
|
|
|
type: vectors
|
|
|
|
cluster:
|
|
|
|
initdb:
|
|
|
|
postInitApplicationSQL:
|
|
|
|
- CREATE EXTENSION IF NOT EXISTS cube;
|
|
|
|
- CREATE EXTENSION IF NOT EXISTS earthdistance;
|
|
|
|
- CREATE SCHEMA IF NOT EXISTS vectors;
|
|
|
|
- ALTER DATABASE immich SET search_path TO "immich", public, vectors;
|
|
|
|
- SET search_path TO "immich", public, vectors;
|
|
|
|
- GRANT SELECT ON TABLE pg_vector_index_stat TO PUBLIC;
|
|
|
|
- ALTER SCHEMA vectors OWNER TO immich;
|
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
2024-04-10 11:59:04 -04:00
|
|
|
includeCommon: false
|
2024-03-22 21:09:37 -04:00
|
|
|
redisUsername: default
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|