53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
image:
|
|
repository: papermerge/papermerge
|
|
pullPolicy: IfNotPresent
|
|
tag: 3.2.0@sha256:11bd6e47622b295ee40f1e719c63235544121839a30e5083d959208931007b62
|
|
securityContext:
|
|
container:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
targetPort: 80
|
|
port: 12000
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
PAPERMERGE__SECURITY__SECRET_KEY:
|
|
secretKeyRef:
|
|
name: papermerge-secrets
|
|
key: PAPERMERGE__SECURITY__SECRET_KEY
|
|
PAPERMERGE__AUTH__USERNAME: admin
|
|
PAPERMERGE__AUTH__PASSWORD: admin
|
|
PAPERMERGE__DATABASE__URL: '{{ printf "postgresql://%s:%s@%s:5432/%s" .Values.cnpg.main.user .Values.cnpg.main.creds.password .Values.cnpg.main.creds.host .Values.cnpg.main.database }}'
|
|
PAPERMERGE__REDIS__URL:
|
|
secretKeyRef:
|
|
expandObjectName: false
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
|
key: url
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: "/core_app/index_db"
|
|
media:
|
|
enabled: true
|
|
mountPath: "/core_app/media"
|
|
redis:
|
|
enabled: true
|
|
redisUsername: papermerge
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
user: papermerge
|
|
database: papermerge
|
|
portal:
|
|
open:
|
|
enabled: true
|