87 lines
1.7 KiB
YAML
87 lines
1.7 KiB
YAML
|
---
|
||
|
workload:
|
||
|
kind: Deployment
|
||
|
strategy:
|
||
|
type: RollingUpdate
|
||
|
containers:
|
||
|
mealie:
|
||
|
image:
|
||
|
registry: ghcr.io
|
||
|
repository: mealie-recipes/mealie
|
||
|
tag:
|
||
|
pullPolicy: Always
|
||
|
ports:
|
||
|
- mealie
|
||
|
mounts:
|
||
|
storage:
|
||
|
data:
|
||
|
path: /app/data/
|
||
|
envFrom:
|
||
|
- environment
|
||
|
- secrets
|
||
|
livenessProbe:
|
||
|
httpGet:
|
||
|
path: /api/app/about
|
||
|
port: mealie
|
||
|
initialDelaySeconds: 10
|
||
|
periodSeconds: 10
|
||
|
readinessProbe:
|
||
|
httpGet:
|
||
|
path: /api/app/about
|
||
|
port: mealie
|
||
|
initialDelaySeconds: 10
|
||
|
periodSeconds: 10
|
||
|
|
||
|
ingress:
|
||
|
main:
|
||
|
class: traefik
|
||
|
annotations:
|
||
|
annotation: test
|
||
|
rules:
|
||
|
- hosts: mealie.softplayer.net
|
||
|
http:
|
||
|
paths:
|
||
|
- backend:
|
||
|
service:
|
||
|
name: "{{ include \"chart.fullname\" $ }}"
|
||
|
port: 9000
|
||
|
tls:
|
||
|
- hosts:
|
||
|
- mealie.softplayer.net
|
||
|
secretName: mealie.softplayer.net
|
||
|
|
||
|
service:
|
||
|
type: ClusterIP
|
||
|
ports:
|
||
|
mealie:
|
||
|
port: 9000
|
||
|
targetPort: 9000
|
||
|
protocol: TCP
|
||
|
|
||
|
storage:
|
||
|
data:
|
||
|
storageClassName: default
|
||
|
size: 1G
|
||
|
accessModes:
|
||
|
- ReadWriteOnce
|
||
|
env:
|
||
|
environment:
|
||
|
sensitive: false
|
||
|
data:
|
||
|
ALLOW_SIGNUP: true
|
||
|
PUID: 1000
|
||
|
PGID: 1000
|
||
|
TZ: Europe/Berlin
|
||
|
MAX_WORKERS: 1
|
||
|
WEB_CONCURRENCY: 1
|
||
|
BASE_URL: https://mealie.softplayer.com
|
||
|
DB_ENGINE: postgres
|
||
|
secrets:
|
||
|
sensitive: true
|
||
|
data:
|
||
|
POSTGRES_USER: mealie
|
||
|
POSTGRES_PASSWORD: mealie
|
||
|
POSTGRES_SERVER: postgres
|
||
|
POSTGRES_PORT: 5432
|
||
|
POSTGRES_DB: mealie
|