From f8fb30938df429a84b1cd50f75e557652fe43081 Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Sun, 10 Nov 2024 12:59:49 -0600 Subject: [PATCH] Update deployment.yaml --- deployment.yaml | 38 +++++++++++--------------------------- 1 file changed, 11 insertions(+), 27 deletions(-) diff --git a/deployment.yaml b/deployment.yaml index 1336090..030955b 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -13,41 +13,25 @@ spec: app: grocy spec: containers: - - name: frontend - image: grocy/frontend:v4.2.0 - resources: - limits: - memory: "128Mi" - cpu: "500m" - ports: - - name: http-frontend - containerPort: 8080 - protocol: TCP - - name: backend - image: grocy/backend:v4.2.0 + - name: grocy + image: lscr.io/linuxserver/grocy:v4.2.0-ls271 env: - - name: GROCY_MODE - value: demo - - name: GROCY_CULTURE - value: en - - name: MAX_UPLOAD - value: 50M - - name: PHP_MAX_FILE_UPLOAD - value: "200" - - name: PHP_MAX_POST - value: 100M - - name: PHP_MEMORY_LIMIT - value: 512M + - name: PUID + value: "1000" + - name: PGID + value: "1000" + - name: TZ + value: "America/Chicago" resources: limits: memory: "1Gi" cpu: "500m" ports: - - name: http-backend - containerPort: 9000 + - name: http + containerPort: 80 protocol: TCP volumeMounts: - - mountPath: /var/www/data + - mountPath: /config name: grocy-data serviceAccountName: grocy volumes: