Update deployment.yaml

This commit is contained in:
Matthew Fisher 2024-11-10 12:59:49 -06:00
parent 4278377a87
commit f8fb30938d

View File

@ -13,41 +13,25 @@ spec:
app: grocy app: grocy
spec: spec:
containers: containers:
- name: frontend - name: grocy
image: grocy/frontend:v4.2.0 image: lscr.io/linuxserver/grocy:v4.2.0-ls271
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- name: http-frontend
containerPort: 8080
protocol: TCP
- name: backend
image: grocy/backend:v4.2.0
env: env:
- name: GROCY_MODE - name: PUID
value: demo value: "1000"
- name: GROCY_CULTURE - name: PGID
value: en value: "1000"
- name: MAX_UPLOAD - name: TZ
value: 50M value: "America/Chicago"
- name: PHP_MAX_FILE_UPLOAD
value: "200"
- name: PHP_MAX_POST
value: 100M
- name: PHP_MEMORY_LIMIT
value: 512M
resources: resources:
limits: limits:
memory: "1Gi" memory: "1Gi"
cpu: "500m" cpu: "500m"
ports: ports:
- name: http-backend - name: http
containerPort: 9000 containerPort: 80
protocol: TCP protocol: TCP
volumeMounts: volumeMounts:
- mountPath: /var/www/data - mountPath: /config
name: grocy-data name: grocy-data
serviceAccountName: grocy serviceAccountName: grocy
volumes: volumes: