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:f78500c70c7e56ac8713dc91b83dcc5d3cf7250aeb960f2345fffebf81109969
|
|
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
|