137 lines
3.7 KiB
YAML
137 lines
3.7 KiB
YAML
#
|
|
# IMPORTANT NOTE
|
|
#
|
|
# This chart inherits from our common library chart. You can check the default values/options here:
|
|
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
|
#
|
|
|
|
image:
|
|
# -- image repository
|
|
repository: ghcr.io/paperless-ngx/paperless-ngx
|
|
# -- image pull policy
|
|
pullPolicy: IfNotPresent
|
|
# -- image tag
|
|
# @default -- chart.appVersion
|
|
tag: 2.18.2
|
|
|
|
# -- See the following files for additional environment variables:
|
|
# https://github.com/paperless-ngx/paperless-ngx/tree/main/docker/compose/
|
|
# https://github.com/paperless-ngx/paperless-ngx/blob/main/paperless.conf.example
|
|
# @default -- See below
|
|
env:
|
|
# -- Project name
|
|
COMPOSE_PROJECT_NAME: paperless
|
|
# -- Redis to use
|
|
PAPERLESS_REDIS:
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: paperless
|
|
key: redis-url
|
|
# -- OCR languages to install
|
|
PAPERLESS_OCR_LANGUAGE: deu
|
|
PAPERLESS_OCR_LANGUAGES: deu
|
|
USERMAP_UID: 1000
|
|
USERMAP_GID: 1000
|
|
PAPERLESS_TIME_ZONE: Europe/Berlin
|
|
# -- Database host to use
|
|
PAPERLESS_DBHOST: paperless-postgresql
|
|
PAPERLESS_DBUSER:
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: paperless
|
|
key: db-user
|
|
PAPERLESS_DBPASS:
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: paperless
|
|
key: db-pass
|
|
# -- Port to use
|
|
PAPERLESS_PORT: 8000
|
|
# -- Username for the root user
|
|
# PAPERLESS_ADMIN_USER: admin
|
|
# -- Password for the root user
|
|
# PAPERLESS_ADMIN_PASSWORD: admin
|
|
PAPERLESS_URL: https://paperless.home
|
|
PAPERLESS_APPS: allauth.socialaccount.providers.openid_connect
|
|
PAPERLESS_SOCIALACCOUNT_PROVIDERS:
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: paperless
|
|
key: provider
|
|
PAPERLESS_ENABLE_HTTP_REMOTE_USER: true
|
|
PAPERLESS_HTTP_REMOTE_USER_HEADER_NAME: HTTP_X_FORWARDED_USER
|
|
PAPERLESS_LOGOUT_REDIRECT_URL: https://iam.borninpain.de/realms/home/protocol/openid-connect/logout
|
|
|
|
# -- Configures service settings for the chart.
|
|
# @default -- See values.yaml
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: 8000
|
|
|
|
ingress:
|
|
# -- Enable and configure ingress settings for the chart under this key.
|
|
# @default -- See values.yaml
|
|
main:
|
|
enabled: false
|
|
|
|
persistence:
|
|
# -- Configure persistence for data.
|
|
# @default -- See values.yaml
|
|
data:
|
|
enabled: true
|
|
mountPath: /usr/src/paperless/data
|
|
accessMode: ReadWriteOnce
|
|
emptyDir:
|
|
enabled: false
|
|
storageClass: openebs-3-replicas
|
|
size: 1Gi
|
|
# -- Configure persistence for media.
|
|
# @default -- See values.yaml
|
|
media:
|
|
enabled: true
|
|
mountPath: /usr/src/paperless/media
|
|
accessMode: ReadWriteOnce
|
|
emptyDir:
|
|
enabled: false
|
|
storageClass: openebs-3-replicas
|
|
size: 5Gi
|
|
# -- Configure volume to monitor for new documents.
|
|
# @default -- See values.yaml
|
|
consume:
|
|
enabled: false
|
|
mountPath: /usr/src/paperless/consume
|
|
accessMode: ReadWriteOnce
|
|
emptyDir:
|
|
enabled: false
|
|
# -- Configure export volume.
|
|
# @default -- See values.yaml
|
|
export:
|
|
enabled: false
|
|
mountPath: /usr/src/paperless/export
|
|
accessMode: ReadWriteOnce
|
|
emptyDir:
|
|
enabled: false
|
|
|
|
# -- Enable and configure postgresql database subchart under this key.
|
|
# For more options see [postgresql chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql)
|
|
# @default -- See values.yaml
|
|
postgresql:
|
|
enabled: true
|
|
global:
|
|
storageClass: openebs-3-replicas
|
|
image:
|
|
repository: bitnamilegacy/postgresql
|
|
tag: 17.6.0-debian-12-r4
|
|
auth:
|
|
existingSecret: paperless
|
|
|
|
# -- Enable and configure redis subchart under this key.
|
|
# For more options see [redis chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/redis)
|
|
# @default -- See values.yaml
|
|
redis:
|
|
enabled: false
|
|
auth:
|
|
enabled: false
|