Updated repository to the new configuration.
This commit is contained in:
parent
25dde6a119
commit
1945f193ea
31 changed files with 766 additions and 866 deletions
34
pods/share/share-pod.yml
Normal file
34
pods/share/share-pod.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue