2022-03-03 23:48:24 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/babybuddy
|
|
|
|
pullPolicy: IfNotPresent
|
2022-04-12 09:14:24 +00:00
|
|
|
tag: v1.10.2@sha256:d16aaf39d206365955dda896efdb59ef652fcd40efa99ddb82db09fecca8d8ee
|
2022-03-03 23:48:24 +00:00
|
|
|
|
|
|
|
# See more environment variables in the babybuddy documentation
|
|
|
|
# https://github.com/linuxserver/docker-babybuddy#parameters
|
|
|
|
env:
|
|
|
|
DB_ENGINE: "django.db.backends.postgresql"
|
|
|
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
DB_PORT: "5432"
|
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
DB_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
allowPrivilegeEscalation: true
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10069
|
|
|
|
targetPort: 8000
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|
|
|
|
varrun:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
# Enabled postgres
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: babybuddy
|
|
|
|
postgresqlDatabase: babybuddy
|