mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
S3 documentation
This commit is contained in:
parent
502baec38a
commit
33c8126215
@ -115,6 +115,24 @@ database:
|
||||
# The path to store the SQLite DB (default: shown below)
|
||||
path: /config/frigate.db
|
||||
|
||||
# Optional: S3 Storage configuration
|
||||
storage:
|
||||
s3:
|
||||
# Write records to s3 instead of local storage (default: shown below)
|
||||
enabled: false
|
||||
# Upload expired records to s3 before delete from local storage (default: shown below)
|
||||
archive: false
|
||||
# Required: S3 Access Key ID
|
||||
access_key_id:
|
||||
# Required: S3 Secret Access Key
|
||||
secret_access_key:
|
||||
# Required: S3 bucket name
|
||||
bucket_name:
|
||||
# Required: S3 Endpoint address
|
||||
endpoint_url: http://hostname:port
|
||||
# Optional: S3 Endpoint Path (default: shown below)
|
||||
path: "/"
|
||||
|
||||
# Optional: model modifications
|
||||
model:
|
||||
# Optional: path to the model (default: automatic based on detector)
|
||||
|
||||
@ -530,7 +530,7 @@ class StorageS3Config(FrigateBaseModel):
|
||||
secret_access_key: str = Field(default="", title="AWS_SECRET_ACCESS_KEY")
|
||||
bucket_name: str = Field(default="", title="Bucket name")
|
||||
endpoint_url: str = Field(default="", title="Endpoint URL")
|
||||
path: str = Field(default="", title="Base Path")
|
||||
path: str = Field(default="/", title="Base Path")
|
||||
|
||||
|
||||
class StorageConfig(FrigateBaseModel):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user