Add S3 config into example

This commit is contained in:
Gergő Móricz
2024-01-22 04:21:39 +01:00
committed by GitHub
parent 46ea68cf9b
commit bf2e1c6260
@@ -97,6 +97,37 @@ storage:
# Where to store snapshots
snapshots_path: ./snapshots
# S3 snapshot storage configuration
# If present, all snapshots will be stored in AWS S3 or S3-compatible storage.
# snapshots_s3:
# Bucket name
# bucket: your_bucket_here
# Storage provider
# service:
# AWS S3
# type: AWS
# Bucket region (e.g. eu-central-1)
# region: your_bucket_region_here
# Cloudflare R2
# type: R2
# Cloudflare account ID
# account_id: your_account_id_here
# Custom
# type: Custom
# region: your_bucket_region_here
# endpoint: your_endpoint_here
# Storage access key
# Can be specified either here or in the `AWS_ACCESS_KEY_ID` environment variable.
# access_key: your_access_key_here
# Storage secret key
# Can be specified either here or in the `AWS_SECRET_ACCESS_KEY` environment variable.
# secret_key: your_secret_key_here
# Where to store temporary files
# If null, temporary snapshot are stored in: storage/snapshots_temp/
temp_path: null
@@ -330,4 +361,4 @@ WARN - storage.hnsw_index.m: value 1 invalid, must be from 4 to 10000
```
The server will continue to operate. Any validation errors should be fixed as
soon as possible though to prevent problematic behavior.
soon as possible though to prevent problematic behavior.