2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/joplin-server
|
2023-11-01 21:38:09 +00:00
|
|
|
tag: v2.13.3@sha256:9624470c9c38ca3a35992055286aa9cb66ac58b63209c328ad9e693e6ab4bcfd
|
2021-10-19 12:20:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
securityContext:
|
2023-07-22 12:14:27 +00:00
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
2021-10-19 12:20:06 +00:00
|
|
|
|
2023-07-22 12:14:27 +00:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/api/ping"
|
|
|
|
port: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
httpHeaders:
|
|
|
|
Host: '{{ tpl .Values.workload.main.podSpec.containers.main.env.APP_BASE_URL $ | replace "https://" "" | replace "http://" "" }}'
|
|
|
|
readiness:
|
|
|
|
path: "/api/ping"
|
|
|
|
port: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
httpHeaders:
|
|
|
|
Host: '{{ tpl .Values.workload.main.podSpec.containers.main.env.APP_BASE_URL $ | replace "https://" "" | replace "http://" "" }}'
|
|
|
|
startup:
|
|
|
|
type: tcp
|
|
|
|
port: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
env:
|
|
|
|
APP_BASE_URL: ""
|
|
|
|
APP_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
DB_CLIENT: "pg"
|
|
|
|
POSTGRES_DATABASE: "{{ .Values.cnpg.main.database }}"
|
|
|
|
POSTGRES_USER: "{{ .Values.cnpg.main.user }}"
|
|
|
|
POSTGRES_PORT: "5432"
|
|
|
|
POSTGRES_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
POSTGRES_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
MAILER_ENABLED: 0
|
|
|
|
MAILER_HOST: ""
|
|
|
|
MAILER_PORT: 465
|
|
|
|
MAILER_SECURE: true
|
|
|
|
MAILER_AUTH_USER: ""
|
|
|
|
MAILER_AUTH_PASSWORD: ""
|
|
|
|
MAILER_NOREPLY_NAME: ""
|
|
|
|
MAILER_NOREPLY_EMAIL: ""
|
2022-01-10 17:11:07 +00:00
|
|
|
|
2021-10-19 12:20:06 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 22300
|
|
|
|
|
2021-11-14 19:19:16 +00:00
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|
2022-01-10 17:11:07 +00:00
|
|
|
|
2023-07-22 12:14:27 +00:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: joplin
|
|
|
|
database: joplin
|
2022-08-08 21:25:02 +00:00
|
|
|
|
|
|
|
portal:
|
2023-07-22 12:14:27 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|