Created
September 15, 2024 17:50
-
-
Save XtremeOwnageDotCom/8eb8d7884757600ca1a28ca39015b57e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: StatefulSet | |
metadata: | |
labels: | |
app: paperless | |
run: paperless | |
name: paperless | |
namespace: paperless | |
annotations: | |
keel.sh/policy: all | |
keel.sh/trigger: poll | |
keel.sh/pollSchedule: "@daily" | |
keel.sh/approvals: "1" | |
keel.sh/releaseNotes: "https://paperless-ngx.readthedocs.io/en/latest/changelog.html" | |
spec: | |
replicas: 1 | |
serviceName: paperless | |
selector: | |
matchLabels: | |
app: paperless | |
template: | |
metadata: | |
labels: | |
app: paperless | |
spec: | |
volumes: | |
- name: config | |
persistentVolumeClaim: | |
claimName: paperless-config | |
- name: db | |
persistentVolumeClaim: | |
claimName: paperless-db | |
- name: documents | |
nfs: | |
path: /mnt/user/documents | |
server: your-nfs-server-ip | |
readOnly: false | |
- name: consume | |
nfs: | |
path: /mnt/user/scanned | |
server: your-nfs-server-ip | |
readOnly: false | |
containers: | |
- name: db | |
image: postgres:13 | |
envFrom: | |
- configMapRef: | |
name: db-config | |
optional: false | |
volumeMounts: | |
- mountPath: /var/lib/postgresql/data | |
name: db | |
- name: redis | |
image: redis | |
- name: paperless | |
image: ghcr.io/paperless-ngx/paperless-ngx:1.17 | |
envFrom: | |
- configMapRef: | |
name: paperless-config | |
optional: false | |
volumeMounts: | |
- mountPath: "/usr/src/paperless/data" | |
name: config | |
- mountPath: "/usr/src/paperless/media" | |
name: documents | |
- mountPath: "/consume" | |
name: consume | |
ports: | |
- containerPort: 8000 | |
name: http | |
dnsConfig: | |
options: | |
- name: ndots | |
value: "1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment