Initial Deployment file
This commit is contained in:
commit
88d28c9dc5
38
deployment.yaml
Normal file
38
deployment.yaml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user