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