47 lines
1 KiB
YAML
47 lines
1 KiB
YAML
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
|