2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/babybuddy
|
2021-10-19 12:20:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2022-02-14 11:39:19 +00:00
|
|
|
tag: v1.9.3@sha256:a069c8e3aeb2d33f08e9b4692aa5f0cd8b2ce439db09cb0223449f99d06c2c5d
|
2021-10-19 12:20:06 +00:00
|
|
|
|
|
|
|
# See more environment variables in the babybuddy documentation
|
|
|
|
# https://github.com/linuxserver/docker-babybuddy#parameters
|
2021-12-19 22:53:28 +00:00
|
|
|
env:
|
2021-10-19 12:20:06 +00:00
|
|
|
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:
|
2021-11-28 09:26:31 +00:00
|
|
|
port: 10069
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 8000
|
2021-10-19 12:20:06 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
2021-11-14 19:19:16 +00:00
|
|
|
mountPath: "/config"
|
2021-10-19 12:20:06 +00:00
|
|
|
varrun:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
# Enabled postgres
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: babybuddy
|
|
|
|
postgresqlDatabase: babybuddy
|