Add proper volume mounts

This commit is contained in:
Tyler Perkins 2024-01-09 20:31:54 -05:00
parent c63ee8cc7a
commit 45189df078
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8

View File

@ -70,3 +70,25 @@ spec:
key: POSTGRES_PASS key: POSTGRES_PASS
ports: ports:
- containerPort: 8000 - containerPort: 8000
volumeMounts:
- name: paperless-consume
mountPath: "/usr/src/paperless/consume"
- name: paperless-media
mountPath: "/usr/src/paperless/media"
- name: paperless-export
mountPath: "/usr/src/paperless/export"
- name: paperless-data
mountPath: "/usr/src/paperless/data"
volumes:
- name: paperless-consume
persistentVolumeClaim:
claimName: paperless-ngx-consume-pvc
- name: paperless-media
persistentVolumeClaim:
claimName: paperless-ngx-export-pvc
- name: paperless-export
persistentVolumeClaim:
claimName: paperless-ngx-export-pvc
- name: paperless-data
persistentVolumeClaim:
claimName: paperless-ngx-data-pvc