mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
![feisar-bot[bot]](/assets/img/avatar_default.png)
| datasource | package | from | to | | ---------- | ----------------------------------- | ------ | ------ | | docker | ghcr.io/paperless-ngx/paperless-ngx | 2.15.3 | 2.16.2 |
119 lines
3.7 KiB
YAML
119 lines
3.7 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app paperless
|
|
spec:
|
|
interval: 1h
|
|
chartRef:
|
|
kind: OCIRepository
|
|
name: app-template
|
|
namespace: flux-system
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
strategy: rollback
|
|
retries: 3
|
|
values:
|
|
controllers:
|
|
paperless:
|
|
strategy: RollingUpdate
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
secret.reloader.stakater.com/reload: authelia-secret,paperless-db-secret
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: ghcr.io/paperless-ngx/paperless-ngx
|
|
tag: 2.16.2@sha256:2096725a544b81d07d35ac123aca079bcb859e03c73d03acb0105dd2629b3dea
|
|
env:
|
|
COMPOSE_PROJECT_NAME: paperless
|
|
PAPERLESS_CONSUMER_POLLING: "60"
|
|
PAPERLESS_CONSUMER_RECURSIVE: "true"
|
|
PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS: "true"
|
|
PAPERLESS_ENABLE_HTTP_REMOTE_USER: "true"
|
|
PAPERLESS_HTTP_REMOTE_USER_HEADER_NAME: HTTP_X_AUTH_REQUEST_EMAIL
|
|
PAPERLESS_OCR_LANGUAGES: fra
|
|
PAPERLESS_OCR_LANGUAGE: fra
|
|
PAPERLESS_PORT: 8000
|
|
PAPERLESS_DBNAME: paperless
|
|
PAPERLESS_REDIS: redis://dragonfly.database.svc.cluster.local.:6379
|
|
PAPERLESS_TASK_WORKERS: 2
|
|
PAPERLESS_TIME_ZONE: Europe/Paris
|
|
PAPERLESS_URL: https://paperless.${SECRET_EXTERNAL_DOMAIN}
|
|
envFrom:
|
|
- secretRef:
|
|
name: paperless-secret
|
|
- secretRef:
|
|
name: paperless-db-secret
|
|
resources:
|
|
requests:
|
|
cpu: 25m
|
|
memory: 3Gi
|
|
limits:
|
|
memory: 7Gi
|
|
service:
|
|
app:
|
|
controller: *app
|
|
ports:
|
|
http:
|
|
port: 8000
|
|
ingress:
|
|
app:
|
|
enabled: true
|
|
className: internal
|
|
annotations:
|
|
hajimari.io/icon: mdi:barcode-scan
|
|
gethomepage.dev/enabled: "true"
|
|
gethomepage.dev/name: Paperless
|
|
gethomepage.dev/description: Document management system that transform physical documents into a searchable online archive.
|
|
gethomepage.dev/group: Applications
|
|
gethomepage.dev/icon: paperless.png
|
|
gethomepage.dev/pod-selector: >-
|
|
app in (
|
|
paperless
|
|
)
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
identifier: app
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
type: nfs
|
|
server: 192.168.9.10
|
|
path: /var/mnt/vol1/shared-documents/paperless/data
|
|
globalMounts:
|
|
- path: /usr/src/paperless/data
|
|
media:
|
|
enabled: true
|
|
type: nfs
|
|
server: 192.168.9.10
|
|
path: /var/mnt/vol1/shared-documents/paperless/media
|
|
globalMounts:
|
|
- path: /usr/src/paperless/media
|
|
consume:
|
|
enabled: true
|
|
type: nfs
|
|
server: 192.168.9.10
|
|
path: /var/mnt/vol1/shared-documents/paperless/watch
|
|
globalMounts:
|
|
- path: /usr/src/paperless/consume
|
|
export:
|
|
enabled: true
|
|
type: nfs
|
|
server: 192.168.9.10
|
|
path: /var/mnt/vol1/shared-documents/paperless/export
|
|
globalMounts:
|
|
- path: /usr/src/paperless/export
|