diff --git a/docs/docs/configuration/index.md b/docs/docs/configuration/index.md index 0a1b230aa..6651def07 100644 --- a/docs/docs/configuration/index.md +++ b/docs/docs/configuration/index.md @@ -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) diff --git a/frigate/config.py b/frigate/config.py index 4fdc7f995..ce3a43af6 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -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):