* feat(apps): Add more Apps using postgresql Squashed commit: move apps - dev to incubator (+29 squashed commit) [e306948ef] bump postgresql [d22c2cc62] bump common [cc5412370] remove ix_values.yaml [ca02334e6] Sync last env's and secrets [34b9d2af1] update gui on ff-syncserver [8dc32c07c] Add description on persistence [3ee0e4dac] Update secrets labels [4192e3af5] Update default-ports [d88de9fbc] fixedEnv on top... [61363ea19] tt-rss [8a124605e] traccar [6de23ed28] teedy [402e3916d] statping [f8da66a8c] shiori [c58d98c29] recipes [2390929fc] openkm [ca4cfcf75] odoo [34a8e0e96] fixedEnv on top [ec3c53f7b] miniflux [b47aab805] librespeed [f7252eeed] whoops [d4e312ff6] kanboard [c9e32f3eb] joplin-server [4a216a442] wikijs [8a529ba57] gotify [1130943a7] ff-sync [f1b43a783] etherpad [7365fe5da] dsmr-reader [ea7a6751e] babybuddy (+1 squashed commits) * enable varrun on librespeed * librespeed no readonly root * run librespeed as root
93 lines
2.2 KiB
YAML
93 lines
2.2 KiB
YAML
image:
|
|
# -- image repository
|
|
repository: vabene1111/recipes
|
|
# -- image tag
|
|
tag: 0.17.2@sha256:01e5f436ac192ee1cca996e628a3dee1029b99f7b4489bdeeaaf74aaf923538e
|
|
# -- image pull policy
|
|
pullPolicy: IfNotPresent
|
|
|
|
nginxImage:
|
|
# -- nginx sidecar image repository
|
|
repository: nginx
|
|
# -- nginx sidecar image tag
|
|
tag: 1.21.3@sha256:7250923ba3543110040462388756ef099331822c6172a050b12c7a38361ea46f
|
|
|
|
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:
|
|
TIMEZONE: UTC
|
|
DEBUG: 0
|
|
ALLOWED_HOSTS: "*"
|
|
SECRET_KEY: "changeme"
|
|
GUNICORN_MEDIA: 0
|
|
FRACTION_PREF_DEFAULT: 0
|
|
COMMENT_PREF_DEFAULT: 1
|
|
SHOPPING_MIN_AUTOSYNC_INTERVAL: 5
|
|
|
|
envTpl:
|
|
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
|
|
|
|
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: 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
|