Update mealie config
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
000bfcc5f3
commit
5a3880d9eb
@ -18,6 +18,8 @@ metadata:
|
|||||||
namespace: mealie
|
namespace: mealie
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: mealie
|
app: mealie
|
||||||
@ -34,8 +36,6 @@ spec:
|
|||||||
- secretRef:
|
- secretRef:
|
||||||
name: mealie
|
name: mealie
|
||||||
env:
|
env:
|
||||||
# - name: API_URL
|
|
||||||
# value: "http://localhost:9000"
|
|
||||||
- name: PUID
|
- name: PUID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: PGID
|
- name: PGID
|
||||||
@ -59,38 +59,11 @@ spec:
|
|||||||
- name: RECIPE_DISABLE_AMOUNT
|
- name: RECIPE_DISABLE_AMOUNT
|
||||||
value: "false"
|
value: "false"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 9000
|
||||||
name: web
|
name: web
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/data
|
- mountPath: /app/data
|
||||||
name: data
|
name: data
|
||||||
# - name: api
|
|
||||||
# image: ghcr.io/mealie-recipes/mealie:api-nightly
|
|
||||||
# imagePullPolicy: Always
|
|
||||||
# envFrom:
|
|
||||||
# - secretRef:
|
|
||||||
# name: mealie
|
|
||||||
# env:
|
|
||||||
# - name: PUID
|
|
||||||
# value: "1000"
|
|
||||||
# - name: PGID
|
|
||||||
# value: "1000"
|
|
||||||
# - name: DB_ENGINE
|
|
||||||
# value: postgres
|
|
||||||
# - name: POSTGRES_DB
|
|
||||||
# value: mealie
|
|
||||||
# - name: DEFAULT_EMAIL
|
|
||||||
# value: "mealie@marcusnoble.co.uk"
|
|
||||||
# - name: TOKEN_TIME
|
|
||||||
# value: "168"
|
|
||||||
# - name: BASE_URL
|
|
||||||
# value: "https://mealie.cluster.fun"
|
|
||||||
# ports:
|
|
||||||
# - containerPort: 9000
|
|
||||||
# name: api
|
|
||||||
# volumeMounts:
|
|
||||||
# - mountPath: /app/data
|
|
||||||
# name: data
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
@ -114,21 +87,6 @@ spec:
|
|||||||
app: mealie
|
app: mealie
|
||||||
---
|
---
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: mealie-api
|
|
||||||
namespace: mealie
|
|
||||||
spec:
|
|
||||||
type: ClusterIP
|
|
||||||
ports:
|
|
||||||
- port: 80
|
|
||||||
targetPort: api
|
|
||||||
name: api
|
|
||||||
selector:
|
|
||||||
app: mealie
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
@ -155,13 +113,3 @@ spec:
|
|||||||
name: mealie
|
name: mealie
|
||||||
port:
|
port:
|
||||||
name: web
|
name: web
|
||||||
- host: mealie.cluster.fun
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /api
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: mealie-api
|
|
||||||
port:
|
|
||||||
name: api
|
|
||||||
|
Loading…
Reference in New Issue
Block a user