commit 88d28c9dc58629799036a21eda6c9b29e7a9afe4 Author: Matthew Fisher Date: Sun Nov 10 12:30:02 2024 -0600 Initial Deployment file 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