apiVersion: v1
kind: Pod
metadata:
name: grocy
labels:
app: grocy
spec:
restartPolicy: Always
containers:
- name: grocy
image: docker.io/linuxserver/grocy:latest
ports:
- hostPort: 9283
containerPort: 80
env:
- name: PUID
value: '1000'
- name: PGID
value: '1000'
- name: TZ
value: Europe/Vienna
volumeMounts:
- name: vol-0
mountPath: /config
securityContext:
runAsUser: ''
runAsGroup: ''
volumes:
- name: vol-0
hostPath:
path: ~/grocy/config
type: Directory
Log in to leave a comment.
Login
No comments yet. Be the first!