Update deployment.yaml
This commit is contained in:
parent
88d28c9dc5
commit
17b7a3aab8
@ -20,19 +20,37 @@ spec:
|
|||||||
memory: "128Mi"
|
memory: "128Mi"
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- name: http-frontend
|
||||||
|
containerPort: 8080
|
||||||
|
protocol: TCP
|
||||||
- name: grocy-backend
|
- name: grocy-backend
|
||||||
image: grocy/backend:v4.2.0
|
image: grocy/backend:v4.2.0
|
||||||
|
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
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "1Gi"
|
memory: "1Gi"
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9000
|
- name: http-backend
|
||||||
|
containerPort: 9000
|
||||||
GROCY_MODE=demo
|
protocol: TCP
|
||||||
GROCY_CULTURE=en
|
volumeMounts:
|
||||||
MAX_UPLOAD=50M
|
- mountPath: /var/www/data
|
||||||
PHP_MAX_FILE_UPLOAD=200
|
name: grocy-data
|
||||||
PHP_MAX_POST=100M
|
serviceAccountName: grocy
|
||||||
PHP_MEMORY_LIMIT=512M
|
volumes:
|
||||||
|
- name: grocy-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: nfs-grocy-data
|
Loading…
Reference in New Issue
Block a user