From 88d28c9dc58629799036a21eda6c9b29e7a9afe4 Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Sun, 10 Nov 2024 12:30:02 -0600 Subject: [PATCH] Initial Deployment file --- deployment.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 deployment.yaml diff --git a/deployment.yaml b/deployment.yaml new file mode 100644 index 0000000..53bce6b --- /dev/null +++ b/deployment.yaml @@ -0,0 +1,38 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: grocy + namespace: grace-community +spec: + selector: + matchLabels: + app: grocy + template: + metadata: + labels: + app: grocy + spec: + containers: + - name: grocy-frontend + image: grocy/frontend:v4.2.0 + resources: + limits: + memory: "128Mi" + cpu: "500m" + ports: + - containerPort: 8080 + - name: grocy-backend + image: grocy/backend:v4.2.0 + resources: + limits: + memory: "1Gi" + cpu: "500m" + ports: + - containerPort: 9000 + +GROCY_MODE=demo +GROCY_CULTURE=en +MAX_UPLOAD=50M +PHP_MAX_FILE_UPLOAD=200 +PHP_MAX_POST=100M +PHP_MEMORY_LIMIT=512M \ No newline at end of file