modifiy to include stash path
This commit is contained in:
+14
-2
@@ -422,6 +422,10 @@ spec:
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
- port: 2283
|
||||
targetPort: http2283
|
||||
protocol: TCP
|
||||
name: http2283
|
||||
selector:
|
||||
app.kubernetes.io/instance: immich
|
||||
app.kubernetes.io/name: server
|
||||
@@ -560,11 +564,16 @@ spec:
|
||||
- name: http
|
||||
containerPort: 3001
|
||||
protocol: TCP
|
||||
- name: http2283
|
||||
containerPort: 2283
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: library
|
||||
mountPath: /usr/src/app/upload
|
||||
# - name: openmediavault
|
||||
# mountPath: /openmediavault
|
||||
|
||||
- name: stash-data
|
||||
mountPath: /stash
|
||||
readOnly: true
|
||||
|
||||
# livenessProbe:
|
||||
# failureThreshold: 3
|
||||
@@ -583,6 +592,9 @@ spec:
|
||||
# periodSeconds: 10
|
||||
# timeoutSeconds: 1
|
||||
volumes:
|
||||
- name: stash-data
|
||||
hostPath:
|
||||
path: /ssd/stash/data-pvc
|
||||
# - name: library
|
||||
# persistentVolumeClaim:
|
||||
# claimName: immich-storage
|
||||
|
||||
Reference in New Issue
Block a user