44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: jellyfin
|
||
|
namespace: streaming
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: jellyfin
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: jellyfin
|
||
|
spec:
|
||
|
hostname: jellyfin
|
||
|
subdomain: jellyfin
|
||
|
containers:
|
||
|
- name: jellyfin
|
||
|
image: jellyfin/jellyfin:10.8.9
|
||
|
ports:
|
||
|
- containerPort: 8096
|
||
|
env:
|
||
|
- name: PUID
|
||
|
value: "1000"
|
||
|
- name: PGID
|
||
|
value: "1000"
|
||
|
- name: TZ
|
||
|
value: "Europe/Copenhagen"
|
||
|
volumeMounts:
|
||
|
- mountPath: "/config"
|
||
|
name: jellyfin-pvc
|
||
|
- mountPath: "/shows"
|
||
|
name: jellyfin-shows
|
||
|
volumes:
|
||
|
- name: jellyfin-pvc
|
||
|
persistentVolumeClaim:
|
||
|
claimName: jellyfin-pvc
|
||
|
- name: jellyfin-shows
|
||
|
persistentVolumeClaim:
|
||
|
claimName: jellyfin-shows
|
||
|
nodeSelector:
|
||
|
type: "wide"
|