video hosting

This commit is contained in:
ari committed 2023-04-03 21:43:43 +00:00
1 parent f71c950e74
commit aca4e69548
6 files changed
+73 -1

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
apiVersion: v2
name: videohosting
description: An applications service for homelab
type: application
version: 0.1.0
dependencies: []
@@ -0,0 +1,59 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: plex
spec:
selector:
matchLabels:
app: plex
serviceName: plex
replicas: 2
template:
metadata:
labels:
app: plex
spec:
containers:
- name: plex
image: lscr.io/linuxserver/plex:1.31.3
ports:
- containerPort: 32400
name: plex
- containerPort: 1900
protocol: udp
- containerPort: 3005
- containerPort: 5353
protocol: udp
- containerPort: 8324
- containerPort: 32410
protocol: udp
- containerPort: 32412
protocol: udp
- containerPort: 32413
protocol: udp
- containerPort: 32414
protocol: udp
- containerPort: 32469
volumeMounts:
- name: familyVideos
mountPath: /mnt/familyVideos
- name: torrents
mountPath: /mnt/torrents
env:
- name: PUID
value: 1000
- name: PGID
value: 1000
- name: TZ
value: America/Toronto
volumes:
- name: torrents
nfs:
server: "{{.Values.nfs.server}}"
path: "{{ .Values.nfs.shares.torrent }}"
readOnly: true
- name: familyVideos
nfs:
server: "{{.Values.nfs.server}}"
path: "{{ .Values.nfs.shares.familyVideos }}"
readOnly: true
Whitespace-only changes.
@@ -0,0 +1,2 @@
nfs:
server: "192.168.8.107"
@@ -0,0 +1,5 @@
nfs:
server: "changeme"
shares:
torrents: "/mnt/EightTerra/DownloadedTorrents"
torrents: "/mnt/EightTerra/FamilyStorage/Video"
+1 -1
View File
@@ -27,4 +27,4 @@ global:
issuer: ""
secretName: ""
domain: ""
deployment: ""
deployment: ""