48 lines
977 B
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
|