2024-04-29 12:41:56 +00:00
|
|
|
image:
|
|
|
|
repository: requarks/wiki
|
2024-05-20 09:07:58 +00:00
|
|
|
tag: 2.5.303@sha256:1aae39563cf15d8cfc6371b6d33805653d9348a1af944a8be4501db36f120b84
|
2024-04-29 12:41:56 +00:00
|
|
|
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
|