42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
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
|