Files
truecharts/charts/stable/wikijs/values.yaml
T

49 lines
1.2 KiB
YAML

image:
repository: docker.io/requarks/wiki
tag: 2.5.311@sha256:1ad473cff124fa455e7aa43bbf7984c5b111a62a1317c664c4bf7a51343d6c91
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
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