chore(immich): cleanup immich (#5470)

* chore(immich): cleanup immich

* add another env

* chmod again lol

* start differenly

* another migration

* Update charts/stable/immich/templates/_proxy.tpl

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

* probes

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
Stavros Kois
2022-12-17 13:16:28 +02:00
committed by GitHub
parent 9dc2f31fd2
commit 5796e0003f
7 changed files with 91 additions and 193 deletions
+3 -22
View File
@@ -15,13 +15,12 @@ webImage:
proxyImage:
repository: tccr.io/truecharts/immich-proxy
tag: 1.29.5_44@sha256:a4c24a70cc1e1bbbdecc3df371af08528430846709ef22ca16e2a923aa8da509
tag: 1.38.2_60@sha256:c788886ce9510541e4031b664d5d3cafbaf14e3bea25792484e1485704dd7231
pullPolicy: IfNotPresent
command:
- /bin/sh
- -c
- chmod +x ./start-server.sh && ./start-server.sh
- ./start-server.sh
securityContext:
readOnlyRootFilesystem: false
@@ -63,36 +62,18 @@ probes:
type: HTTP
port: 3001
# Due to https://github.com/immich-app/immich/issues/726
hostAliases:
- ip: 127.0.0.1
hostnames:
- immich-web
- immich-server
- immich-machine-learning
service:
main:
ports:
main:
port: 10323
protocol: HTTP
targetPort: 8080
persistence:
uploads:
enabled: true
mountPath: /usr/src/app/upload
proxy-conf:
enabled: true
noMount: true
type: custom
mountPath: /etc/nginx/
volumeSpec:
configMap:
name: '{{ include "tc.common.names.fullname" . }}-proxy-config'
items:
- key: nginx.conf
path: nginx.conf
postgresql:
enabled: true