Files
truecharts/charts/stable/paperless-ngx/values.yaml
T

169 lines
5.1 KiB
YAML

# yaml-language-server: $schema=./values.schema.json
image:
repository: ghcr.io/paperless-ngx/paperless-ngx
pullPolicy: IfNotPresent
tag: 2.20.14@sha256:b89f83345532cfba72690185257eb6c4f92fc2a782332a42abe19c07b7a6595f
gotenbergImage:
repository: docker.io/gotenberg/gotenberg
pullPolicy: IfNotPresent
tag: 8.30@sha256:206a6c708fc6d05257367d9ac902d6c56c50d2e3284d0596ea000814ef97f22c
tikaImage:
repository: docker.io/apache/tika
pullPolicy: IfNotPresent
tag: 3.3.0.0@sha256:2a565f1ea1290bdcb74a7d35957d16a989ed44ef98790dcdcc28121d728fa583
service:
main:
ports:
main:
targetPort: 8000
port: 10140
gotenberg:
enabled: "{{ .Values.tika.enabled }}"
targetSelector: gotenberg
ports:
gotenberg:
enabled: true
targetPort: 3000
port: 3000
tika:
enabled: "{{ .Values.tika.enabled }}"
targetSelector: tika
ports:
tika:
enabled: true
targetPort: 9998
port: 9998
persistence:
data:
enabled: true
mountPath: "/data"
consume:
enabled: true
mountPath: "/consume"
media:
enabled: true
mountPath: "/media"
varrun:
enabled: false
redis:
enabled: true
redisUsername: "default"
cnpg:
main:
enabled: true
user: "paperless-ng"
database: "paperless-ng"
tika:
enabled: false
securityContext:
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: http
httpHeaders:
Host: localhost
startup:
type: http
httpHeaders:
Host: localhost
readiness:
type: http
httpHeaders:
Host: localhost
env:
PAPERLESS_PORT: "{{ .Values.service.main.ports.main.targetPort }}"
PAPERLESS_DATA_DIR: "/data/"
PAPERLESS_CONSUMPTION_DIR: "/consume/"
PAPERLESS_MEDIA_ROOT: "/media/"
PAPERLESS_URL: ""
USERMAP_UID: "{{ .Values.securityContext.container.PUID }}"
USERMAP_GID: "{{ .Values.securityContext.pod.fsGroup }}"
PAPERLESS_TIME_ZONE: "{{ .Values.TZ }}"
PAPERLESS_DBNAME: "{{ .Values.cnpg.main.database }}"
PAPERLESS_DBUSER: "{{ .Values.cnpg.main.user }}"
PAPERLESS_DBPORT: "5432"
PAPERLESS_TIKA_ENABLED: '{{ ternary 1 0 .Values.tika.enabled }}'
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: '{{ printf "http://%v-gotenberg:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.gotenberg.ports.gotenberg.targetPort }}'
PAPERLESS_TIKA_ENDPOINT: '{{ printf "http://%v-tika:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.tika.ports.tika.targetPort }}'
PAPERLESS_WEBSERVER_WORKERS: 2
PAPERLESS_DBPASS:
secretKeyRef:
name: cnpg-main-user
key: password
PAPERLESS_DBHOST:
secretKeyRef:
name: cnpg-main-urls
key: host
PAPERLESS_SECRET_KEY:
secretKeyRef:
name: secrets
key: PAPERLESS_SECRET_KEY
PAPERLESS_REDIS:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
key: url
PAPERLESS_ADMIN_USER: "admin"
PAPERLESS_ADMIN_PASSWORD: "admin"
PAPERLESS_ADMIN_MAIL: "admin@admin.com"
PAPERLESS_OCR_LANGUAGE: "eng"
PAPERLESS_OCR_LANGUAGES: "eng fra deu spa ita"
gotenberg:
enabled: "{{ .Values.tika.enabled }}"
type: Deployment
podSpec:
containers:
gotenberg:
enabled: true
primary: true
imageSelector: gotenbergImage
command:
- "gotenberg"
- "--chromium-disable-javascript=true"
- "--chromium-allow-list=file:///tmp/.*"
probes:
liveness:
type: http
path: /health
port: "{{ .Values.service.gotenberg.ports.gotenberg.port }}"
startup:
type: http
path: /health
port: "{{ .Values.service.gotenberg.ports.gotenberg.port }}"
readiness:
type: http
path: /health
port: "{{ .Values.service.gotenberg.ports.gotenberg.port }}"
tika:
enabled: "{{ .Values.tika.enabled }}"
type: Deployment
podSpec:
containers:
tika:
enabled: true
primary: true
imageSelector: tikaImage
probes:
liveness:
type: http
path: /
port: "{{ .Values.service.tika.ports.tika.port }}"
startup:
type: http
path: /
port: "{{ .Values.service.tika.ports.tika.port }}"
readiness:
type: http
path: /
port: "{{ .Values.service.tika.ports.tika.port }}"