2024-11-10 12:30:02 -06:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: grocy
|
|
|
|
namespace: grace-community
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: grocy
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: grocy
|
|
|
|
spec:
|
|
|
|
containers:
|
2024-11-10 12:59:49 -06:00
|
|
|
- name: grocy
|
|
|
|
image: lscr.io/linuxserver/grocy:v4.2.0-ls271
|
2024-11-10 12:37:35 -06:00
|
|
|
env:
|
2024-11-10 12:59:49 -06:00
|
|
|
- name: PUID
|
|
|
|
value: "1000"
|
|
|
|
- name: PGID
|
|
|
|
value: "1000"
|
|
|
|
- name: TZ
|
|
|
|
value: "America/Chicago"
|
2024-11-10 12:30:02 -06:00
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: "1Gi"
|
|
|
|
cpu: "500m"
|
|
|
|
ports:
|
2024-11-10 12:59:49 -06:00
|
|
|
- name: http
|
|
|
|
containerPort: 80
|
2024-11-10 12:37:35 -06:00
|
|
|
protocol: TCP
|
|
|
|
volumeMounts:
|
2024-11-10 12:59:49 -06:00
|
|
|
- mountPath: /config
|
2024-11-10 12:37:35 -06:00
|
|
|
name: grocy-data
|
2024-11-10 12:43:08 -06:00
|
|
|
serviceAccountName: grocy
|
|
|
|
volumes:
|
|
|
|
- name: grocy-data
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: nfs-grocy-data
|