1
0
Fork 0

hswaw/paperless: upgrade postgres to 15.4, paperless-ngx to 1.17.4

Change-Id: I790f306cf2a7837e11e035615862cf00641d5c96
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1699
Reviewed-by: radex <radex@hackerspace.pl>
master
informatic 2023-10-10 00:42:03 +02:00 committed by informatic
parent ea8e3f9112
commit 0bb2fcaa32
2 changed files with 10 additions and 2 deletions

View File

@ -5,7 +5,7 @@
# docker build --build-arg VERSION -t registry.k0.hswaw.net/informatic/paperless-ngx:$VERSION .
# docker push registry.k0.hswaw.net/informatic/paperless-ngx:$VERSION
ARG VERSION=1.7.0
ARG VERSION=1.17.4
FROM ghcr.io/paperless-ngx/paperless-ngx:${VERSION}
# Install polish tesseract training data

View File

@ -19,7 +19,7 @@ local redis = import "../../kube/redis.libsonnet";
domain: "paperless.hackerspace.pl",
images: {
paperless: "registry.k0.hswaw.net/informatic/paperless-ngx@sha256:78b17e3050f7edea1e8c659c433ebcb6365bb93280a2698e3322075f988b1f41",
paperless: "registry.k0.hswaw.net/informatic/paperless-ngx:1.17.4",
proxy: "quay.io/oauth2-proxy/oauth2-proxy:v7.2.1",
},
@ -48,6 +48,12 @@ local redis = import "../../kube/redis.libsonnet";
password: { secretKeyRef: { name: "paperless", key: "postgres_password" } },
storageClassName: cfg.storageClassName,
storageSize: "20Gi",
image: "postgres:15.4-bookworm",
pgupgrade+: {
enable: true,
from: "10",
},
},
bouncer: {},
},
@ -128,6 +134,7 @@ local redis = import "../../kube/redis.libsonnet";
},
env_: {
PAPERLESS_PORT: "8000",
PAPERLESS_URL: "https://%s" % [cfg.domain],
PAPERLESS_SECRET_KEY: { secretKeyRef: { name: "paperless", key: "secret_key" } },
@ -145,6 +152,7 @@ local redis = import "../../kube/redis.libsonnet";
PAPERLESS_OCR_LANGUAGE: "pol",
PAPERLESS_OCR_MODE: "force",
PAPERLESS_DATE_ORDER: "YMD",
PAPERLESS_EMAIL_TASK_CRON: "*/2 * * * *",
},
volumeMounts: [