2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/joplin-server
|
2022-07-25 18:36:51 +00:00
|
|
|
tag: v2.7.4@sha256:ce324e9c7a37f4372f02d722639472975795f8874f0a1df12eea0bd93974d941
|
2021-10-19 12:20:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
env:
|
2022-01-10 17:11:07 +00:00
|
|
|
APP_BASE_URL: http://localhost:22300
|
2021-10-19 12:20:06 +00:00
|
|
|
APP_PORT: 22300
|
|
|
|
DB_CLIENT: "pg"
|
|
|
|
POSTGRES_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
POSTGRES_PORT: "5432"
|
|
|
|
POSTGRES_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
POSTGRES_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
|
2022-01-10 17:11:07 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/api/ping"
|
|
|
|
readiness:
|
|
|
|
path: "/api/ping"
|
|
|
|
startup:
|
|
|
|
path: "/api/ping"
|
|
|
|
|
2021-10-19 12:20:06 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 22300
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 22300
|
2021-10-19 12:20:06 +00:00
|
|
|
|
2021-11-14 19:19:16 +00:00
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|
2022-01-10 17:11:07 +00:00
|
|
|
|
2021-10-19 12:20:06 +00:00
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: joplin
|
|
|
|
postgresqlDatabase: joplin
|