Skip to content

Commit

Permalink
Upgrade mealie to github hosted image (#132)
Browse files Browse the repository at this point in the history
* Update deployment.yaml

* Update service.yaml

* Update ingress.yaml
  • Loading branch information
gandazgul authored Mar 20, 2024
1 parent a69f0a0 commit 623d5f1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 51 deletions.
59 changes: 12 additions & 47 deletions apps/mealie/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,43 +26,8 @@ spec:
dnsPolicy: ClusterFirst
dnsConfig: {}
containers:
# frontend ---------------------------------------------------------
- name: frontend
image: hkotel/mealie:frontend-nightly
imagePullPolicy: Always
env:
- name: TZ
value: ${CLUSTER_TIME_ZONE}
- name: API_URL
value: "http://127.0.0.1:9000"
livenessProbe:
httpGet:
scheme: HTTP
path: /
port: 3001
initialDelaySeconds: 30
timeoutSeconds: 10
resources:
requests:
cpu: 100m
memory: 250Mi
limits:
cpu: 500m
memory: 500Mi
volumeMounts:
- mountPath: /etc/localtime
name: tz-config
readOnly: true
- mountPath: /app/data
name: yasr-volume
subPath: configs/mealie
ports:
- name: fe-http
containerPort: 3001
protocol: TCP
# api ----------------------------------------------------------
- name: api
image: hkotel/mealie:api-nightly
- name: mealie
image: ghcr.io/mealie-recipes/mealie:latest
imagePullPolicy: Always
env:
- name: PUID
Expand Down Expand Up @@ -90,7 +55,7 @@ spec:
livenessProbe:
httpGet:
scheme: HTTP
path: /api/app/about
path: /
port: 9000
initialDelaySeconds: 30
timeoutSeconds: 10
Expand All @@ -102,13 +67,13 @@ spec:
cpu: 500m
memory: 500Mi
volumeMounts:
- mountPath: /app/data
name: yasr-volume
subPath: configs/mealie
- mountPath: /etc/localtime
name: tz-config
readOnly: true
- mountPath: /etc/localtime
name: tz-config
readOnly: true
- mountPath: /app/data
name: yasr-volume
subPath: configs/mealie
ports:
- name: api-http
containerPort: 9000
protocol: TCP
- name: http
containerPort: 9000
protocol: TCP
2 changes: 1 addition & 1 deletion apps/mealie/base/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ spec:
service:
name: mealie
port:
name: fe-http
name: http
6 changes: 3 additions & 3 deletions apps/mealie/base/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ metadata:
spec:
type: ClusterIP
ports:
- name: fe-http
port: 3001
- name: http
port: 9000
protocol: TCP
targetPort: fe-http
targetPort: http
selector:
app.kubernetes.io/name: mealie

0 comments on commit 623d5f1

Please sign in to comment.