2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: requarks/wiki
|
|
|
|
tag: 2.5.300@sha256:5419ec3f4ac6a0bc9fd1b6b126249fe5ad72c02f7a47e885a15e881f10cf7eef
|
2021-10-19 12:20:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2021-11-28 09:26:31 +00:00
|
|
|
port: 10045
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 3000
|
2023-04-11 10:07:17 +00:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: wikijs
|
|
|
|
database: wikijs
|
2022-03-08 20:43:02 +00:00
|
|
|
# /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
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-04-11 10:07:17 +00:00
|
|
|
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
|