fix: expose authenticated frigate port
This commit is contained in:
parent
2b75e0c0fa
commit
b3b809bd4a
1 changed files with 4 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
||||||
virtualisation.oci-containers.containers.frigate = {
|
virtualisation.oci-containers.containers.frigate = {
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--privileged"
|
"--privileged"
|
||||||
"--shm-size=128mb"
|
"--shm-size=256mb"
|
||||||
"--device=/dev/bus/usb:/dev/bus/usb"
|
"--device=/dev/bus/usb:/dev/bus/usb"
|
||||||
];
|
];
|
||||||
image = "ghcr.io/blakeblackshear/frigate:stable";
|
image = "ghcr.io/blakeblackshear/frigate:stable";
|
||||||
|
@ -19,7 +19,8 @@
|
||||||
#"/tmp/frigate:/tmp/cache"
|
#"/tmp/frigate:/tmp/cache"
|
||||||
];
|
];
|
||||||
ports = [
|
ports = [
|
||||||
"5000:5000"
|
"127.0.0.1:5000:5000"
|
||||||
|
"8971:8971"
|
||||||
"8554:8554" # RTSP feeds
|
"8554:8554" # RTSP feeds
|
||||||
"8555:8555/tcp" # WebRTC over tcp
|
"8555:8555/tcp" # WebRTC over tcp
|
||||||
"8555:8555/udp" # WebRTC over udp
|
"8555:8555/udp" # WebRTC over udp
|
||||||
|
@ -27,7 +28,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.interfaces.ss0.allowedTCPPorts = [
|
networking.firewall.interfaces.ss0.allowedTCPPorts = [
|
||||||
5000
|
8971
|
||||||
8554
|
8554
|
||||||
8555
|
8555
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue