forked from ab/homelab
Update k8s/apps/immich/deployments.yaml
This commit is contained in:
@ -1,76 +1,80 @@
|
|||||||
#---
|
---
|
||||||
#apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
#kind: Deployment
|
kind: Deployment
|
||||||
#metadata:
|
metadata:
|
||||||
# name: immich-server
|
name: immich-server
|
||||||
#spec:
|
spec:
|
||||||
# replicas: 1
|
replicas: 1
|
||||||
# selector:
|
selector:
|
||||||
# matchLabels:
|
matchLabels:
|
||||||
# app: immich-server
|
app: immich-server
|
||||||
# template:
|
template:
|
||||||
# metadata:
|
metadata:
|
||||||
# labels:
|
labels:
|
||||||
# app: immich-server
|
app: immich-server
|
||||||
# spec:
|
spec:
|
||||||
# containers:
|
containers:
|
||||||
# - name: immich-server
|
- name: immich-server
|
||||||
# image: ghcr.io/immich-app/immich-server:release
|
image: ghcr.io/immich-app/immich-server:release
|
||||||
# imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
# ports:
|
ports:
|
||||||
# - containerPort: 2283
|
- containerPort: 2283
|
||||||
# env:
|
env:
|
||||||
# - name: UPLOAD_LOCATION
|
- name: UPLOAD_LOCATION
|
||||||
# value: /usr/src/app/upload
|
value: /usr/src/app/upload
|
||||||
# - name: DB_PASSWORD
|
- name: DB_PASSWORD
|
||||||
# value: postgres
|
value: postgres
|
||||||
# - name: DB_USERNAME
|
- name: DB_USERNAME
|
||||||
# value: postgres
|
value: postgres
|
||||||
# - name: DB_DATABASE_NAME
|
- name: DB_DATABASE_NAME
|
||||||
# value: immich
|
value: immich
|
||||||
# - name: REDIS_HOST
|
- name: REDIS_HOST
|
||||||
# value: redis
|
value: redis
|
||||||
# - name: REDIS_PORT
|
- name: REDIS_PORT
|
||||||
# value: "6379"
|
value: "6379"
|
||||||
# - name: TZ
|
- name: TZ
|
||||||
# value: Asia/Nicosia
|
value: Asia/Nicosia
|
||||||
# volumeMounts:
|
volumeMounts:
|
||||||
# - mountPath: /usr/src/app/upload
|
- mountPath: /usr/src/app/upload
|
||||||
# name: upload-storage
|
name: upload-storage
|
||||||
# - mountPath: /GPHOTO
|
- mountPath: /GPHOTO
|
||||||
# name: gphoto-storage
|
name: gphoto-storage
|
||||||
# - mountPath: /etc/localtime
|
- mountPath: /etc/localtime
|
||||||
# name: localtime
|
name: localtime
|
||||||
# readOnly: true
|
readOnly: true
|
||||||
# affinity:
|
affinity:
|
||||||
# nodeAffinity:
|
nodeAffinity:
|
||||||
# preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
# - weight: 100
|
- weight: 100
|
||||||
# preference:
|
preference:
|
||||||
# matchExpressions:
|
matchExpressions:
|
||||||
# - key: kubernetes.io/hostname
|
- key: kubernetes.io/hostname
|
||||||
# operator: In
|
operator: In
|
||||||
# values:
|
values:
|
||||||
# - home.homenet
|
- home.homenet
|
||||||
# requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
# nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
# - matchExpressions:
|
- matchExpressions:
|
||||||
# - key: kubernetes.io/hostname
|
- key: kubernetes.io/hostname
|
||||||
# operator: In
|
operator: In
|
||||||
# values:
|
values:
|
||||||
# - home.homenet
|
- home.homenet
|
||||||
# - nas.homenet
|
- nas.homenet
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: upload-storage
|
- name: upload-storage
|
||||||
# persistentVolumeClaim:
|
nfs:
|
||||||
# claimName: immich-upload-pvc
|
server: nas.homenet
|
||||||
# - name: gphoto-storage
|
path: /mnt/storage/Storage/k8s/immich/library/
|
||||||
# persistentVolumeClaim:
|
readOnly: false
|
||||||
# claimName: immich-gphoto-pvc
|
- name: gphoto-storage
|
||||||
# - name: localtime
|
nfs:
|
||||||
# hostPath:
|
server: nas.homenet
|
||||||
# path: /etc/localtime
|
path: /mnt/storage/Storage/k8s/immich/GPHOTO/
|
||||||
# type: File
|
readOnly: false
|
||||||
|
- 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