2024-03-21 00:09:06 +00:00
|
|
|
image:
|
|
|
|
repository: altran1502/immich-server
|
2024-05-15 00:48:42 +00:00
|
|
|
tag: v1.105.1@sha256:658b40420d7a39d6eb34c797cec8d36ff315f5adb168301aaf27dc4eafc8e228
|
2024-03-21 00:09:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
mlImage:
|
|
|
|
repository: altran1502/immich-machine-learning
|
|
|
|
pullPolicy: IfNotPresent
|
2024-05-15 00:48:42 +00:00
|
|
|
tag: v1.105.1@sha256:2e2736ba2f2270485c0b6fa33eee66ea0b2279b70b92ea838a015c4d5289c9f0
|
2024-03-21 00:09:06 +00:00
|
|
|
|
|
|
|
mlCudaImage:
|
|
|
|
repository: altran1502/immich-machine-learning
|
|
|
|
pullPolicy: IfNotPresent
|
2024-05-15 00:48:42 +00:00
|
|
|
tag: v1.105.1-cuda@sha256:6c34f6cfc85b1a34336e8eb2cf5ce14ec585395e404d4566826e8bf16e1a441b
|
2024-03-21 00:09:06 +00:00
|
|
|
|
|
|
|
mlOpenvinoImage:
|
|
|
|
repository: altran1502/immich-machine-learning
|
|
|
|
pullPolicy: IfNotPresent
|
2024-05-15 00:48:42 +00:00
|
|
|
tag: v1.105.1-openvino@sha256:7675497197b8600316d942444fb9f88106a91091b5011a806988a4afad0dc0cb
|
2024-03-21 00:09:06 +00: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 16:27:07 +00:00
|
|
|
includeCommon: true
|
2024-03-21 00:09:06 +00:00
|
|
|
redisUsername: default
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|