This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/mealie/deployment.yaml

48 lines
977 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: mealie
name: mealie
spec:
replicas: 1
selector:
matchLabels:
app: mealie
strategy:
type: Recreate
template:
metadata:
labels:
app: mealie
spec:
containers:
- image: docker.io/hkotel/mealie:v0.5.6
name: mealie
env:
- name: BASE_URL
value: https://rezepte.tobru.ch
- name: TZ
value: Europe/Zurich
ports:
- containerPort: 80
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 15
periodSeconds: 10
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 15
periodSeconds: 10
volumeMounts:
- name: data
mountPath: /app/data
volumes:
- name: data
persistentVolumeClaim:
claimName: mealie-data