paperless db
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
postgres-password: RVBIb0Q2MVFyZA==
|
||||
postgres-password: RTVNbUVJY3VCMw==
|
||||
kind: Secret
|
||||
metadata:
|
||||
labels:
|
||||
@@ -129,7 +129,7 @@ metadata:
|
||||
helm.sh/chart: paperless-9.1.3
|
||||
name: paperless
|
||||
spec:
|
||||
replicas: 0
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
@@ -148,6 +148,18 @@ spec:
|
||||
- env:
|
||||
- name: COMPOSE_PROJECT_NAME
|
||||
value: paperless
|
||||
- name: PAPERLESS_DBHOST
|
||||
value: paperless-postgresql
|
||||
- name: PAPERLESS_DBPASS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: db-pass
|
||||
name: pg
|
||||
- name: PAPERLESS_DBUSER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: db-user
|
||||
name: pg
|
||||
- name: PAPERLESS_OCR_LANGUAGE
|
||||
value: deu
|
||||
- name: PAPERLESS_OCR_LANGUAGES
|
||||
@@ -223,7 +235,7 @@ metadata:
|
||||
name: paperless-postgresql
|
||||
namespace: paperless
|
||||
spec:
|
||||
replicas: 0
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/component: primary
|
||||
|
||||
@@ -26,7 +26,7 @@ env:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: redis
|
||||
key: redis-url
|
||||
key: redis-url
|
||||
# -- OCR languages to install
|
||||
PAPERLESS_OCR_LANGUAGE: deu
|
||||
PAPERLESS_OCR_LANGUAGES: deu
|
||||
@@ -34,7 +34,17 @@ env:
|
||||
USERMAP_GID: 1000
|
||||
PAPERLESS_TIME_ZONE: Europe/Berlin
|
||||
# -- Database host to use
|
||||
PAPERLESS_DBHOST:
|
||||
PAPERLESS_DBHOST: paperless-postgresql
|
||||
PAPERLESS_DBUSER:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: pg
|
||||
key: db-user
|
||||
PAPERLESS_DBPASS:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: pg
|
||||
key: db-pass
|
||||
# -- Port to use
|
||||
PAPERLESS_PORT: 8000
|
||||
# -- Username for the root user
|
||||
@@ -50,10 +60,6 @@ service:
|
||||
ports:
|
||||
http:
|
||||
port: 8000
|
||||
redis:
|
||||
ports:
|
||||
redis:
|
||||
port: 6379
|
||||
|
||||
ingress:
|
||||
# -- Enable and configure ingress settings for the chart under this key.
|
||||
@@ -109,9 +115,9 @@ postgresql:
|
||||
image:
|
||||
tag: 13.15.0-debian-12-r6
|
||||
|
||||
postgresqlUsername: paperless
|
||||
postgresqlPassword: paperless
|
||||
postgresqlDatabase: paperless
|
||||
postgresqlUsername: paperless-user
|
||||
postgresqlPassword: paperless-pw
|
||||
postgresqlDatabase: paperless-db
|
||||
|
||||
# -- Enable and configure redis subchart under this key.
|
||||
# For more options see [redis chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/redis)
|
||||
|
||||
Reference in New Issue
Block a user