diff options
| author | Robert Günzler <r@gnzler.io> | 2026-02-23 14:26:03 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-02-23 14:26:03 +0100 |
| commit | 309479b86cae5b638c8e4175a5b7c2231b1b735c (patch) | |
| tree | 4daf1eee71b3dbfd54d1554e9a5031f41a006bee /bundles/paperless/files | |
| parent | b9b32176af5eed6d06f92b5831221d87e27654ce (diff) | |
paperless: *
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/paperless/files')
| -rw-r--r-- | bundles/paperless/files/kube.yaml | 52 |
1 files changed, 29 insertions, 23 deletions
diff --git a/bundles/paperless/files/kube.yaml b/bundles/paperless/files/kube.yaml index fc51313..02d6560 100644 --- a/bundles/paperless/files/kube.yaml +++ b/bundles/paperless/files/kube.yaml @@ -12,8 +12,10 @@ data: # use authelia PAPERLESS_APPS: allauth.socialaccount.providers.openid_connect PAPERLESS_LOGOUT_REDIRECT_URL: https://login.gzr.im/logout - PAPERLESS_DISABLE_REGULAR_LOGIN: false - PAPERLESS_REDIRECT_LOGIN_TO_SSO: false + PAPERLESS_DISABLE_REGULAR_LOGIN: true + PAPERLESS_REDIRECT_LOGIN_TO_SSO: true + # monitoring + # PAPERLESS_ENABLE_FLOWER: true --- apiVersion: v1 kind: Pod @@ -36,25 +38,13 @@ spec: restartPolicy: Always dnsPolicy: Default containers: - - name: broker - image: docker.io/library/redis:7 - ports: - - containerPort: 6379 - protocol: TCP - volumeMounts: - - name: broker-data - mountPath: /data - resources: - limits: - cpu: 100m - memory: 128Mi - # TODO: healthchecks - - name: paperless - image: ghcr.io/paperless-ngx/paperless-ngx:2.18.4 + image: ghcr.io/paperless-ngx/paperless-ngx:2.19.5 ports: - containerPort: 8000 protocol: TCP + # - containerPort: 5555 + # protocol: TCP envFrom: - configMapRef: name: paperless @@ -69,8 +59,7 @@ spec: mountPath: /paperless/data resources: limits: - cpu: 100m - memory: 128Mi + memory: 256Mi livenessProbe: httpGet: path: / @@ -78,11 +67,24 @@ spec: initialDelaySeconds: 30 timeoutSeconds: 30 + - name: broker + image: index.docker.io/library/redis:8 + ports: + - containerPort: 6379 + protocol: TCP + volumeMounts: + - name: broker-data + mountPath: /data + resources: + limits: + cpu: 100m + memory: 512Mi + livenessProbe: + exec: + command: ["redis-cli", "--raw", "incr", "ping"] + + volumes: - - name: broker-data - hostPath: - path: /var/lib/paperless/broker - type: DirectoryOrCreate - name: paperless-data hostPath: path: /var/lib/paperless/data @@ -95,3 +97,7 @@ spec: hostPath: path: /media/hayasui/documents/paperless type: Directory + - name: broker-data + hostPath: + path: /var/lib/paperless/broker + type: DirectoryOrCreate |