Files
homelab/apps/hydra/immich/immich-deployment.yaml
T

69 lines
1.5 KiB
YAML
Raw Normal View History

2026-05-05 12:27:12 -04:00
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: immich
name: immich
namespace: immich
spec:
selector:
matchLabels:
app: immich
strategy: {}
template:
metadata:
labels:
app: immich
spec:
containers:
- env:
2026-05-05 12:37:46 -04:00
- name: IMMICH_PORT
value: "2283"
- name: REDIS_PORT
value: "6379"
2026-05-05 12:27:12 -04:00
- name: DB_DATABASE_NAME
valueFrom:
secretKeyRef:
key: db_username
2026-05-05 12:35:57 -04:00
name: immich
2026-05-05 12:27:12 -04:00
- name: DB_HOSTNAME
valueFrom:
secretKeyRef:
key: db_host
2026-05-05 12:35:57 -04:00
name: immich
2026-05-05 12:27:12 -04:00
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
key: db_password
2026-05-05 12:35:57 -04:00
name: immich
2026-05-05 12:27:12 -04:00
- name: DB_PORT
valueFrom:
secretKeyRef:
key: db_port
2026-05-05 12:35:57 -04:00
name: immich
2026-05-05 12:27:12 -04:00
- name: DB_USERNAME
valueFrom:
secretKeyRef:
key: db_username
2026-05-05 12:35:57 -04:00
name: immich
2026-05-05 12:29:30 -04:00
image: ghcr.io/immich-app/immich-server:v2.7.5
2026-05-05 12:27:12 -04:00
name: immich-server
ports:
- containerPort: 2283
resources: {}
2026-05-05 14:57:42 -04:00
volumeMounts:
- mountPath: /data
name: upload
- mountPath: /etc/localtime
name: localtime
readOnly: true
2026-05-05 12:27:12 -04:00
volumes:
- name: upload
persistentVolumeClaim:
claimName: immich-pvc
- hostPath:
path: /etc/localtime
type: File
name: localtime
status: {}