2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: requarks/wiki
|
2024-02-05 00:52:52 +00:00
|
|
|
tag: 2.5.301@sha256:3d20706341a35b3f50d339d26e791b3e87d7cbc848bc002cf47a542ddf3dcd43
|
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
|