TrueChartsCatalogClone/stable/immich/15.13.6/templates/_server.tpl

38 lines
815 B
Smarty
Raw Normal View History

{{- define "immich.server" -}}
enabled: true
primary: true
imageSelector: image
resources:
excludeExtra: true
command: /bin/sh
args:
- -c
- /usr/src/app/start-server.sh
securityContext:
capabilities:
disableS6Caps: true
envFrom:
- configMapRef:
name: server-config
- configMapRef:
name: common-config
- secretRef:
name: deps-secret
probes:
liveness:
enabled: true
type: http
path: /api/server-info/ping
port: {{ .Values.service.main.ports.main.port }}
readiness:
enabled: true
type: http
path: /api/server-info/ping
port: {{ .Values.service.main.ports.main.port }}
startup:
enabled: true
type: http
path: /api/server-info/ping
port: {{ .Values.service.main.ports.main.port }}
{{- end -}}