argocd-test/mediaserver/base/mediaserver-jellyfin-deployment.yaml

46 lines
1.0 KiB
YAML
Raw Normal View History

2024-10-30 15:05:42 +00:00
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
2024-10-30 15:05:42 +00:00
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