mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-10 17:34:05 -05:00
frigate update to 0.17-beta
This commit is contained in:
parent
3c995c482a
commit
690d1e9bb0
2 changed files with 8 additions and 14 deletions
|
|
@ -105,6 +105,9 @@
|
|||
hash = "sha256-65Z20N16/jHOtVb85HLx0z4nHEuG9POEV7D5QXOGYQM=";
|
||||
};
|
||||
environmentFile = config.sops.templates."caddyserver-env".path;
|
||||
logFormat = ''
|
||||
level DEBUG
|
||||
'';
|
||||
globalConfig = ''
|
||||
order authenticate before respond
|
||||
security {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ let
|
|||
auth.enabled = false; # Proxy auth
|
||||
tls.enabled = false; # off because we're doing ssl through the proxy
|
||||
proxy = {
|
||||
logout_url = "https://auth.wanderingcrow.net";
|
||||
logout_url = "https://frigate.wanderingcrow.net/caddy-security/oauth2/generic/logout";
|
||||
default_role = "viewer";
|
||||
header_map = {
|
||||
user = "Remote-User";
|
||||
|
|
@ -92,12 +92,8 @@ let
|
|||
record = {
|
||||
enabled = true;
|
||||
retain.days = 0; # as per official documentation
|
||||
alerts = {
|
||||
retain.days = 14;
|
||||
};
|
||||
detections = {
|
||||
retain.days = 14;
|
||||
};
|
||||
alerts.retain.days = 14;
|
||||
detections.retain.days = 14;
|
||||
};
|
||||
#################
|
||||
# Camera config #
|
||||
|
|
@ -124,12 +120,7 @@ let
|
|||
];
|
||||
};
|
||||
detect.enabled = true;
|
||||
record = {
|
||||
retain = {
|
||||
days = 2;
|
||||
mode = "all";
|
||||
};
|
||||
};
|
||||
record.continuous.days = 7;
|
||||
review = {
|
||||
alerts.labels = [ ];
|
||||
detections.labels = [
|
||||
|
|
@ -229,7 +220,7 @@ in
|
|||
backend = "podman";
|
||||
containers = {
|
||||
"frigate" = {
|
||||
image = "ghcr.io/blakeblackshear/frigate:stable";
|
||||
image = "ghcr.io/blakeblackshear/frigate:0.17.0-beta1";
|
||||
environmentFiles = [ config.sops.templates."frigate_env".path ];
|
||||
volumes = [
|
||||
"/etc/localtime:/etc/localtime:ro"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue