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
Raw Permalink Normal View History

2021-12-27 19:42:10 +00:00
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
2021-12-27 19:42:10 +00:00
name: mealie
env:
- name: BASE_URL
value: https://rezepte.tobru.ch
- name: TZ
value: Europe/Zurich
ports:
2021-12-28 18:22:58 +00:00
- containerPort: 80
2021-12-27 19:42:10 +00:00
livenessProbe:
httpGet:
path: /
2021-12-28 18:22:58 +00:00
port: 80
2021-12-27 19:42:10 +00:00
initialDelaySeconds: 15
periodSeconds: 10
readinessProbe:
httpGet:
path: /
2021-12-28 18:22:58 +00:00
port: 80
2021-12-27 19:42:10 +00:00
initialDelaySeconds: 15
periodSeconds: 10
2021-12-27 19:46:55 +00:00
volumeMounts:
- name: data
mountPath: /app/data
volumes:
- name: data
persistentVolumeClaim:
claimName: mealie-data