Compare commits

..

2 Commits

Author SHA1 Message Date
740edf6174 change overseerr to hotio continer image 2024-10-30 16:05:57 +01:00
44d066dc01 add jellyfin 2024-10-30 16:05:42 +01:00
6 changed files with 88 additions and 1 deletions

View File

@ -0,0 +1,49 @@
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:691de0ddf8b3f27c8520f34cc566e4a18090ea2ac36a9ace1eec7184b6e9baca
resources:
requests:
cpu: 1
memory: 512Mi
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

View File

@ -0,0 +1,12 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: mediaserver-ingressroute
spec:
routes:
- match: Host(`jellyfin.mziesel.nl`)
kind: Rule
services:
- name: mediaserver-jellyfin
port: web
tls: {}

View File

@ -0,0 +1,11 @@
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: mediaserver-jellyfin-config-pvc
spec:
storageClassName: nfs-client
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi

View File

@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: mediaserver-jellyfin
spec:
ports:
- name: web
port: 80
targetPort: web
selector:
app: jellyfin

View File

@ -21,7 +21,7 @@ spec:
claimName: mediaserver-overseerr-config-pvc
containers:
- name: overseerr
image: sctx/overseerr:latest@sha256:714ea6db2bc007a2262d112bef7eec74972eb33d9c72bddb9cbd98b8742de950
image: ghcr.io/hotio/overseerr:latest@sha256:cb8533ef4e765c75d690d933fecb274a209f94225d418b79e8c34e6035ba920a
resources:
requests:
cpu: 1

View File

@ -31,3 +31,7 @@ resources:
- ./base/mediaserver-overseerr-ingress.yaml
- ./base/mediaserver-overseerr-pvc.yaml
- ./base/mediaserver-overseerr-svc.yaml
- ./base/mediaserver-jellyfin-deployment.yaml
- ./base/mediaserver-jellyfin-ingress.yaml
- ./base/mediaserver-jellyfin-pvc.yaml
- ./base/mediaserver-jellyfin-svc.yaml