89 lines
1.7 KiB
YAML
89 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: 9000
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /api/app/about
|
|
port: 9000
|
|
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:
|
|
enabled: true
|
|
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:
|
|
enabled: true
|
|
sensitive: true
|
|
data:
|
|
POSTGRES_USER: ~
|
|
POSTGRES_PASSWORD: ~
|
|
POSTGRES_SERVER: ~
|
|
POSTGRES_PORT: ~
|
|
POSTGRES_DB: ~
|