kubedeploy-k3s/apps/immich/deployment/microservices.yaml
2024-05-03 09:58:49 +02:00

40 lines
940 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: immich-microservices
name: immich-microservices
spec:
replicas: 1
selector:
matchLabels:
app: immich-microservices
strategy:
type: Recreate
template:
metadata:
labels:
app: immich-microservices
spec:
containers:
- args:
- start.sh
- microservices
envFrom:
- secretRef:
name: immich-secret
image: ghcr.io/immich-app/immich-server:release
name: immich-microservices
resources: {}
volumeMounts:
- mountPath: /usr/src/app/upload
name: photos
subPath: upload
- mountPath: /usr/src/app/external
name: photos
restartPolicy: Always
volumes:
- name: photos
nfs:
server: 192.168.178.4
path: /mnt/photos