55 lines
1.0 KiB
YAML
55 lines
1.0 KiB
YAML
|
image:
|
||
|
repository: tccr.io/truecharts/joplin-server
|
||
|
tag: v2.7.4@sha256:6832f3ed894279ba8a1ab03b4033d11dadc28e3f36364eed7b69eadb52f8e1e4
|
||
|
pullPolicy: IfNotPresent
|
||
|
|
||
|
securityContext:
|
||
|
readOnlyRootFilesystem: false
|
||
|
runAsNonRoot: false
|
||
|
|
||
|
podSecurityContext:
|
||
|
runAsUser: 0
|
||
|
runAsGroup: 0
|
||
|
|
||
|
env:
|
||
|
APP_BASE_URL: http://localhost:22300
|
||
|
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
|
||
|
|
||
|
probes:
|
||
|
liveness:
|
||
|
path: "/api/ping"
|
||
|
readiness:
|
||
|
path: "/api/ping"
|
||
|
startup:
|
||
|
path: "/api/ping"
|
||
|
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 22300
|
||
|
targetPort: 22300
|
||
|
|
||
|
persistence:
|
||
|
config:
|
||
|
enabled: true
|
||
|
mountPath: "/config"
|
||
|
|
||
|
postgresql:
|
||
|
enabled: true
|
||
|
existingSecret: "dbcreds"
|
||
|
postgresqlUsername: joplin
|
||
|
postgresqlDatabase: joplin
|