Skip to content

Commit

Permalink
chore(paperless-ng): Update sources to ngx, add option, keep trash pe…
Browse files Browse the repository at this point in the history
…rsistent (#2135)
  • Loading branch information
stavros-k committed Mar 12, 2022
1 parent 20f88e3 commit 2cbd3a1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
9 changes: 5 additions & 4 deletions charts/stable/paperless-ng/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: paperless-ng
version: 2.0.4
version: 2.0.5
appVersion: "1.5.0"
description: Paperless-ng is an application by Daniel Quinn and contributors that indexes your scanned documents.
description: Paperless-ngx is an application by Daniel Quinn and contributors that indexes your scanned documents.
type: application
deprecated: false
home: https://github.com/truecharts/apps/tree/master/charts/stable/paperless-ng
icon: https://truecharts.org/_static/img/appicons/paperless-ng.png
keywords:
- paperless-ng
sources:
- https://hub.docker.com/r/linuxserver/paperless-ng
- https://github.com/paperless-ngx/paperless-ngx
- https://paperless-ngx.readthedocs.io/en/latest/
dependencies:
- name: common
repository: https://truecharts.org
Expand All @@ -30,6 +31,6 @@ maintainers:
url: https://truecharts.org
annotations:
truecharts.org/catagories: |
- incubator
- productivity
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
14 changes: 14 additions & 0 deletions charts/stable/paperless-ng/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,20 @@ questions:
schema:
type: string
default: ""
- variable: env
group: "Container Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: PAPERLESS_WEBSERVER_WORKERS
label: "PAPERLESS_WEBSERVER_WORKERS"
description: "The number of worker processes the webserver should spawn."
schema:
type: int
required: true
default: 2
# Include{containerConfig}

- variable: service
Expand Down
3 changes: 3 additions & 0 deletions charts/stable/paperless-ng/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ secret:
PAPERLESS_ADMIN_MAIL: "admin@admin.com"

env:
PAPERLESS_PORT: "{{ .Values.service.main.ports.main.targetPort }}"
PAPERLESS_DATA_DIR: "/data/"
PAPERLESS_TRASH_DIR: "/data/trash/"
PAPERLESS_CONSUMPTION_DIR: "/consume/"
PAPERLESS_MEDIA_ROOT: "/media/"
USERMAP_UID: "{{ .Values.security.PUID }}"
Expand All @@ -26,6 +28,7 @@ env:
PAPERLESS_DBNAME: "{{ .Values.postgresql.postgresqlDatabase }}"
PAPERLESS_DBUSER: "{{ .Values.postgresql.postgresqlUsername }}"
PAPERLESS_DBPORT: "5432"
PAPERLESS_WEBSERVER_WORKERS: 2

envValueFrom:
PAPERLESS_DBPASS:
Expand Down

0 comments on commit 2cbd3a1

Please sign in to comment.