alpine-server/pods/share/share-pod.yml

34 lines
709 B
YAML
Raw Permalink Normal View History

apiversion: v1
kind: Pod
metadata:
name: share-pod
annotations:
io.podman.annotations.infra.name: share-pod-infra
spec:
containers:
- name: picoshare
image: docker.io/mtlynch/picoshare:latest
env:
- name: PS_SHARED_SECRET
value: "<secret>"
- name: PORT
value: 3000
ports:
- containerport: 3000
hostport: 5080
protocol: TCP
volumemounts:
- mountpath: /data
name: picoshare-data
- mountpath: /etc/localtime
name: localtime
readonly: true
volumes:
- persistentvolumeclaim:
claimname: share-pod-picoshare-data
name: picoshare-data
- hostPath:
path: /etc/localtime
type: File
name: localtime