forked from hswaw/hscloud
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
parent
ea8e3f9112
commit
0bb2fcaa32
|
@ -5,7 +5,7 @@
|
||||||
# docker build --build-arg VERSION -t registry.k0.hswaw.net/informatic/paperless-ngx:$VERSION .
|
# docker build --build-arg VERSION -t registry.k0.hswaw.net/informatic/paperless-ngx:$VERSION .
|
||||||
# docker push 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}
|
FROM ghcr.io/paperless-ngx/paperless-ngx:${VERSION}
|
||||||
|
|
||||||
# Install polish tesseract training data
|
# Install polish tesseract training data
|
||||||
|
|
|
@ -19,7 +19,7 @@ local redis = import "../../kube/redis.libsonnet";
|
||||||
domain: "paperless.hackerspace.pl",
|
domain: "paperless.hackerspace.pl",
|
||||||
|
|
||||||
images: {
|
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",
|
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" } },
|
password: { secretKeyRef: { name: "paperless", key: "postgres_password" } },
|
||||||
storageClassName: cfg.storageClassName,
|
storageClassName: cfg.storageClassName,
|
||||||
storageSize: "20Gi",
|
storageSize: "20Gi",
|
||||||
|
|
||||||
|
image: "postgres:15.4-bookworm",
|
||||||
|
pgupgrade+: {
|
||||||
|
enable: true,
|
||||||
|
from: "10",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
bouncer: {},
|
bouncer: {},
|
||||||
},
|
},
|
||||||
|
@ -128,6 +134,7 @@ local redis = import "../../kube/redis.libsonnet";
|
||||||
},
|
},
|
||||||
env_: {
|
env_: {
|
||||||
PAPERLESS_PORT: "8000",
|
PAPERLESS_PORT: "8000",
|
||||||
|
PAPERLESS_URL: "https://%s" % [cfg.domain],
|
||||||
|
|
||||||
PAPERLESS_SECRET_KEY: { secretKeyRef: { name: "paperless", key: "secret_key" } },
|
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_LANGUAGE: "pol",
|
||||||
PAPERLESS_OCR_MODE: "force",
|
PAPERLESS_OCR_MODE: "force",
|
||||||
PAPERLESS_DATE_ORDER: "YMD",
|
PAPERLESS_DATE_ORDER: "YMD",
|
||||||
|
PAPERLESS_EMAIL_TASK_CRON: "*/2 * * * *",
|
||||||
},
|
},
|
||||||
|
|
||||||
volumeMounts: [
|
volumeMounts: [
|
||||||
|
|
Loading…
Reference in New Issue