frigate update to 0.17-beta

This commit is contained in:
TheWanderingCrow 2025-12-15 12:33:19 -05:00
parent 3c995c482a
commit 690d1e9bb0
2 changed files with 8 additions and 14 deletions

View file

@ -105,6 +105,9 @@
hash = "sha256-65Z20N16/jHOtVb85HLx0z4nHEuG9POEV7D5QXOGYQM="; hash = "sha256-65Z20N16/jHOtVb85HLx0z4nHEuG9POEV7D5QXOGYQM=";
}; };
environmentFile = config.sops.templates."caddyserver-env".path; environmentFile = config.sops.templates."caddyserver-env".path;
logFormat = ''
level DEBUG
'';
globalConfig = '' globalConfig = ''
order authenticate before respond order authenticate before respond
security { security {

View file

@ -15,7 +15,7 @@ let
auth.enabled = false; # Proxy auth auth.enabled = false; # Proxy auth
tls.enabled = false; # off because we're doing ssl through the proxy tls.enabled = false; # off because we're doing ssl through the proxy
proxy = { proxy = {
logout_url = "https://auth.wanderingcrow.net"; logout_url = "https://frigate.wanderingcrow.net/caddy-security/oauth2/generic/logout";
default_role = "viewer"; default_role = "viewer";
header_map = { header_map = {
user = "Remote-User"; user = "Remote-User";
@ -92,12 +92,8 @@ let
record = { record = {
enabled = true; enabled = true;
retain.days = 0; # as per official documentation retain.days = 0; # as per official documentation
alerts = { alerts.retain.days = 14;
retain.days = 14; detections.retain.days = 14;
};
detections = {
retain.days = 14;
};
}; };
################# #################
# Camera config # # Camera config #
@ -124,12 +120,7 @@ let
]; ];
}; };
detect.enabled = true; detect.enabled = true;
record = { record.continuous.days = 7;
retain = {
days = 2;
mode = "all";
};
};
review = { review = {
alerts.labels = [ ]; alerts.labels = [ ];
detections.labels = [ detections.labels = [
@ -229,7 +220,7 @@ in
backend = "podman"; backend = "podman";
containers = { containers = {
"frigate" = { "frigate" = {
image = "ghcr.io/blakeblackshear/frigate:stable"; image = "ghcr.io/blakeblackshear/frigate:0.17.0-beta1";
environmentFiles = [ config.sops.templates."frigate_env".path ]; environmentFiles = [ config.sops.templates."frigate_env".path ];
volumes = [ volumes = [
"/etc/localtime:/etc/localtime:ro" "/etc/localtime:/etc/localtime:ro"