Skip to content

Commit

Permalink
[home] added rtmp port to frigate
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Feb 22, 2024
1 parent d6699d2 commit f6a93f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 29 deletions.
3 changes: 3 additions & 0 deletions apps/home/frigate/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ spec:
- name: web
containerPort: 5000
protocol: TCP
- name: rtmp
containerPort: 1935
protocol: TCP
- name: rtsp
containerPort: 8554
protocol: TCP
Expand Down
38 changes: 9 additions & 29 deletions apps/home/frigate/base/svc.yaml
Original file line number Diff line number Diff line change
@@ -1,45 +1,21 @@
apiVersion: v1
kind: Service
metadata:
name: frigate-web
name: frigate
labels:
app: frigate
spec:
selector:
app: frigate
ports:
- name: web
port: 80
port: 5000
targetPort: 5000
protocol: TCP
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
name: frigate-rtsp
labels:
app: frigate
spec:
selector:
app: frigate
ports:
- name: rtsp
port: 8554
targetPort: 8554
- name: rtmp
port: 1935
targetPort: 1935
protocol: TCP
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
name: frigate-webrtc
labels:
app: frigate
spec:
selector:
app: frigate
ports:
- name: webrtc-tcp
port: 8555
targetPort: 8555
Expand All @@ -48,4 +24,8 @@ spec:
port: 8555
targetPort: 8555
protocol: UDP
- name: rtsp
port: 8554
targetPort: 8554
protocol: TCP
type: ClusterIP

0 comments on commit f6a93f5

Please sign in to comment.