46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: jellyfin
|
|
namespace: jellyfin
|
|
labels:
|
|
app: jellyfin
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: jellyfin
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: jellyfin
|
|
annotations:
|
|
spec:
|
|
volumes:
|
|
- name: jellyfin-config
|
|
persistentVolumeClaim:
|
|
claimName: mediaserver-jellyfin-config-pvc
|
|
- name: plex-data
|
|
persistentVolumeClaim:
|
|
claimName: mediaserver-plex-data-pvc
|
|
containers:
|
|
- name: jellyfin
|
|
image: ghcr.io/hotio/jellyfin:latest@sha256:0d7fa09889db1df589e3b7eb481c5d410adc30a150415d2ead68634159abe14b
|
|
ports:
|
|
- name: web
|
|
containerPort: 8096
|
|
env:
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: UMASK
|
|
value: "002"
|
|
- name: TZ
|
|
value: Europe/Amsterdam
|
|
volumeMounts:
|
|
- mountPath: /config
|
|
name: jellyfin-config
|
|
- mountPath: /data
|
|
name: plex-data
|