56 lines
1.2 KiB
YAML
56 lines
1.2 KiB
YAML
|
image:
|
||
|
repository: tccr.io/truecharts/etherpad
|
||
|
pullPolicy: IfNotPresent
|
||
|
tag: version-1.8.14@sha256:4900f0e787ca22cf93090ae44ecceb5689d4427c739e1eb637a6e3a913161bf8
|
||
|
|
||
|
secret: {}
|
||
|
|
||
|
# See more environment variables in the etherpad documentation
|
||
|
# https://github.com/ether/etherpad-lite/blob/develop/doc/docker.md
|
||
|
# For Mariadb, use DB_TYPE: mysql https://github.com/ether/etherpad-lite/issues/4214
|
||
|
env:
|
||
|
DB_TYPE: "postgres"
|
||
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||
|
DB_PORT: "5432"
|
||
|
|
||
|
envValueFrom:
|
||
|
DB_PASS:
|
||
|
secretKeyRef:
|
||
|
name: dbcreds
|
||
|
key: postgresql-password
|
||
|
DB_HOST:
|
||
|
secretKeyRef:
|
||
|
name: dbcreds
|
||
|
key: plainhost
|
||
|
|
||
|
securityContext:
|
||
|
readOnlyRootFilesystem: false
|
||
|
runAsNonRoot: false
|
||
|
|
||
|
podSecurityContext:
|
||
|
runAsUser: 0
|
||
|
runAsGroup: 0
|
||
|
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 10060
|
||
|
targetPort: 9001
|
||
|
|
||
|
persistence:
|
||
|
data:
|
||
|
enabled: true
|
||
|
mountPath: "/opt/etherpad-lite/var"
|
||
|
app:
|
||
|
enabled: true
|
||
|
mountPath: "/opt/etherpad-lite/app"
|
||
|
|
||
|
# Enabled postgres
|
||
|
postgresql:
|
||
|
enabled: true
|
||
|
existingSecret: "dbcreds"
|
||
|
postgresqlUsername: etherpad
|
||
|
postgresqlDatabase: etherpad
|