38 lines
737 B
YAML
38 lines
737 B
YAML
|
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
|