feat(plex): initial commit of plex

This commit is contained in:
David Landry 2024-05-27 16:11:47 -04:00
parent e8c2cdca94
commit 91f64320f9
17 changed files with 934 additions and 0 deletions

View file

@ -0,0 +1,42 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: plex
spec:
template:
spec:
volumes:
- name: plex-data-audiobooks
nfs:
server: 192.168.1.215
path: /export/audiobooks
- name: plex-data-music
nfs:
server: 192.168.1.215
path: /export/music
- name: plex-data-videos
nfs:
server: 192.168.1.215
path: /export/videos
containers:
- name: plex
env:
- name: PLEX_CLAIM
valueFrom:
secretKeyRef:
name: plex-claim
key: claim-token
- name: ADVERTISE_IP
value: https://plex.nc.landry.land
- name: HOSTNAME
value: plex.nc.landry.land
- name: ALLOWED_NETWORKS
value: 192.168.1.1/16
volumeMounts:
- mountPath: /audiobooks
name: plex-data-audiobooks
- mountPath: /music
name: plex-data-music
- mountPath: /media
name: plex-data-videos