dotconfig/pods: add
This commit is contained in:
parent
679647542d
commit
2e05501c92
14 changed files with 755 additions and 0 deletions
47
dotconfig/pods/media/media-pod.yml
Normal file
47
dotconfig/pods/media/media-pod.yml
Normal file
|
@ -0,0 +1,47 @@
|
|||
apiversion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: media-pod
|
||||
annotations:
|
||||
io.podman.annotations.infra.name: media-pod-infra
|
||||
spec:
|
||||
containers:
|
||||
- name: jellyfin
|
||||
image: docker.io/jellyfin/jellyfin:latest
|
||||
securitycontext:
|
||||
runasgroup: 1000
|
||||
runasuser: 1000
|
||||
env:
|
||||
- name: JELLYFIN_PublishedServerUrl
|
||||
value: ""
|
||||
ports:
|
||||
- containerport: 8096
|
||||
hostport:
|
||||
protocol: TCP
|
||||
volumemounts:
|
||||
- name: jellyfin-config
|
||||
mountpath: /config
|
||||
- name: jellyfin-cache
|
||||
mountpath: /cache
|
||||
- name: jellyfin-media
|
||||
mountpath: /media
|
||||
readonly: true
|
||||
- name: localtime
|
||||
mountpath: /etc/localtime
|
||||
readonly: true
|
||||
|
||||
volumes:
|
||||
- name: jellyfin-config
|
||||
persistentvolumeclaim:
|
||||
claimname: media-pod-jellyfin-config
|
||||
- name: jellyfin-media
|
||||
hostpath:
|
||||
path: $HOME/.local/share/media
|
||||
type: Directory
|
||||
- name: jellyfin-cache
|
||||
persistentvolumeclaim:
|
||||
claimname: media-pod-jellyfin-cache
|
||||
- name: localtime
|
||||
hostpath:
|
||||
path: /etc/localtime
|
||||
type: File
|
Loading…
Add table
Add a link
Reference in a new issue