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