S3 documentation

This commit is contained in:
Sergey Krashevich 2023-05-24 00:14:50 +03:00
parent 502baec38a
commit 33c8126215
No known key found for this signature in database
GPG Key ID: 625171324E7D3856
2 changed files with 19 additions and 1 deletions

View File

@ -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)

View File

@ -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):