-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
41 lines (36 loc) · 2.24 KB
/
config.yaml.example
File metadata and controls
41 lines (36 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# The mqtt topic prefix - usually it is "frigate" unless you change it in your system
mqtt_frigate_topic_prefix: "frigate"
# The host and port where Frigate's mqtt broker can be found
mqtt_host: "127.0.0.1"
mqtt_port: 1883
# Low level keep-alive connection for frigate (in seconds)
mqtt_keep_alive_seconds: 5
# If mqtt has a username and password, input them here
mqtt_username:
mqtt_password:
# When connecting to mqtt broker, this is the string that is used to self-identify
# Ensure that EVERY client connecting has a unique id. Otherwise, this can lead to confusion in connection ownership.
mqtt_client_id: sam-frigate-video-sync
# Currently you can use local, sftp, and s3 destinations
# You can add as many as you like. They will all be synced
upload_destinations:
# Local destinations look like this
- local:path=/home/username/SomeDirectory/video-sync
# Sftp destinations
# Authentication must be done with a private key file (identity private key file)
- sftp:username=user;host=example.com;remote-path=/dir/to/upload/to/;identity=/home/user/key.pem
# S3 destinations
# bucket → required, lowercase DNS-style bucket name
# s3-path → optional base path/prefix inside the bucket
# region → optional (depending on S3 you use), example: "us-east-1"
# endpoint → optional for S3-compatible storage (e.g. LocalStack, MinIO)
# credentials-path → required, path to AWS-style credentials file. See: https://docs.aws.amazon.com/sdkref/latest/guide/file-format.html
# profile → optional, profile name in credentials file (default is [default]). See: https://docs.aws.amazon.com/sdkref/latest/guide/file-format.html
- s3:bucket=my-bucket-name;s3-path=video-sync/;region=us-east-1;credentials-path=/config/aws-creds;profile=default
# The API address of Frigate. This is used to retrieve extra data, like video clips
frigate_api_address: "http://127.0.0.1:5000"
# How long to wait after Frigate startup to start uploads.
# In other words: If Frigate restarts, uploads will only happen after the given period has passed.
# This might be useful in case Frigate takes time after startup to register the desired snapshot/recordings state.
# The number is in seconds and is integer.
delay_after_startup: 120