diff --git a/spec/eientei/frigate.nix b/spec/eientei/frigate.nix index 5767621f..57011b65 100644 --- a/spec/eientei/frigate.nix +++ b/spec/eientei/frigate.nix @@ -8,7 +8,7 @@ virtualisation.oci-containers.containers.frigate = { extraOptions = [ "--privileged" - "--shm-size=128mb" + "--shm-size=256mb" "--device=/dev/bus/usb:/dev/bus/usb" ]; image = "ghcr.io/blakeblackshear/frigate:stable"; @@ -19,7 +19,8 @@ #"/tmp/frigate:/tmp/cache" ]; ports = [ - "5000:5000" + "127.0.0.1:5000:5000" + "8971:8971" "8554:8554" # RTSP feeds "8555:8555/tcp" # WebRTC over tcp "8555:8555/udp" # WebRTC over udp @@ -27,7 +28,7 @@ }; networking.firewall.interfaces.ss0.allowedTCPPorts = [ - 5000 + 8971 8554 8555 ];