Files
truecharts/charts/stable/recipes/values.yaml
T
5c2206eb40 chore(deps): update docker general non-major (#2198)
* chore(deps): update docker general non-major

* Commit bumped App Version

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: TrueCharts-Bot <bot@truecharts.org>
2022-03-17 09:15:06 +01:00

95 lines
2.3 KiB
YAML

image:
# -- image repository
repository: tccr.io/truecharts/recipes
# -- image tag
tag: v1.1.3@sha256:c3647df7ce82ed48e3b0cff7da5ab02612c894ddffe40dc72bcf66bd67bc3d2b
# -- image pull policy
pullPolicy: IfNotPresent
nginxImage:
# -- nginx sidecar image repository
repository: tccr.io/truecharts/nginx
# -- nginx sidecar image tag
tag: v1.21.6@sha256:fdc061e9e62f5976129bb08cbed912584343727e2382c80dbedcdfdcd9703bf8
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
# -- environment variables. See [project docs](https://raw.githubusercontent.com/vabene1111/recipes/master/.env.template) for more details.
# @default -- See below
env:
DEBUG: 0
ALLOWED_HOSTS: "*"
GUNICORN_MEDIA: 0
FRACTION_PREF_DEFAULT: 0
COMMENT_PREF_DEFAULT: 1
SHOPPING_MIN_AUTOSYNC_INTERVAL: 5
TIMEZONE: "{{ .Values.TZ }}"
DB_ENGINE: "django.db.backends.postgresql"
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
POSTGRES_PORT: "5432"
envValueFrom:
POSTGRES_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
POSTGRES_HOST:
secretKeyRef:
name: dbcreds
key: plainhost
SECRET_KEY:
secretKeyRef:
name: recipes-secrets
key: SECRET_KEY
additionalContainers:
nginx:
name: nginx
image: "{{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}"
ports:
- containerPort: 80
name: main
volumeMounts:
- name: recipes-config
mountPath: "/etc/nginx/nginx.conf"
subPath: nginx-config
readOnly: true
- name: media
mountPath: "/media"
- name: static
mountPath: "/static"
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
main:
ports:
main:
port: 10029
targetPort: 80
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
media:
enabled: true
mountPath: "/opt/recipes/mediafiles"
static:
enabled: true
type: emptyDir
mountPath: "/opt/recipes/staticfiles"
# Enabled postgres
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: recipes
postgresqlDatabase: recipes