forked from ab/homelab
Update k8s/apps/immich/deployments.yaml
This commit is contained in:
@ -129,64 +129,6 @@ spec:
|
|||||||
# - name: model-cache
|
# - name: model-cache
|
||||||
# emptyDir: {}
|
# emptyDir: {}
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: immich-server
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: immich-server
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: immich-server
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: immich-server
|
|
||||||
image: ghcr.io/immich-app/immich-server:release
|
|
||||||
imagePullPolicy: Always
|
|
||||||
ports:
|
|
||||||
- containerPort: 2283
|
|
||||||
env:
|
|
||||||
- name: UPLOAD_LOCATION
|
|
||||||
value: /usr/src/app/upload
|
|
||||||
- name: DB_PASSWORD
|
|
||||||
value: postgres
|
|
||||||
- name: DB_USERNAME
|
|
||||||
value: postgres
|
|
||||||
- name: DB_DATABASE_NAME
|
|
||||||
value: immich
|
|
||||||
- name: REDIS_HOST
|
|
||||||
value: redis
|
|
||||||
- name: REDIS_PORT
|
|
||||||
value: "6379"
|
|
||||||
- name: TZ
|
|
||||||
value: Asia/Nicosia
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /usr/src/app/upload
|
|
||||||
name: upload-storage
|
|
||||||
- mountPath: /GPHOTO
|
|
||||||
name: gphoto-storage
|
|
||||||
- mountPath: /etc/localtime
|
|
||||||
name: localtime
|
|
||||||
readOnly: true
|
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/hostname: nas.homenet
|
|
||||||
volumes:
|
|
||||||
- name: upload-storage
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: immich-upload-pvc
|
|
||||||
- name: gphoto-storage
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: immich-gphoto-pvc
|
|
||||||
- name: localtime
|
|
||||||
hostPath:
|
|
||||||
path: /etc/localtime
|
|
||||||
type: File
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
Reference in New Issue
Block a user