TrueChartsCatalogClone/stable/wikijs/15.7.0/ix_values.yaml

51 lines
1.2 KiB
YAML

image:
repository: requarks/wiki
tag: 2.5.301@sha256:3d20706341a35b3f50d339d26e791b3e87d7cbc848bc002cf47a542ddf3dcd43
pullPolicy: IfNotPresent
service:
main:
ports:
main:
port: 10045
targetPort: 3000
cnpg:
main:
enabled: true
user: wikijs
database: wikijs
# /wiki/data is a temporary dir. Without mounting as emptyDir it's only writable by root.
# https://docs.requarks.io/en/install/config#data-paths
persistence:
wikicache:
enabled: true
mountPath: "/wiki/data/"
type: emptyDir
portal:
open:
enabled: true
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
path: "/healthz"
readiness:
path: "/healthz"
startup:
path: "/healthz"
env:
DB_TYPE: "postgres"
DB_NAME: "{{ .Values.cnpg.main.database }}"
DB_USER: "{{ .Values.cnpg.main.user }}"
DB_PORT: "5432"
DB_PASS:
secretKeyRef:
name: cnpg-main-user
key: password
DB_HOST:
secretKeyRef:
name: cnpg-main-urls
key: host