mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
🔒 feat: Implement Granular File Storage Strategies and Access Control Middleware
This commit is contained in:
parent
74e029e78f
commit
ff54cbffd9
13 changed files with 269 additions and 210 deletions
|
|
@ -7,9 +7,24 @@ version: 1.2.1
|
|||
# Cache settings: Set to true to enable caching
|
||||
cache: true
|
||||
|
||||
# File strategy s3/firebase
|
||||
# File storage configuration
|
||||
# Single strategy for all file types (legacy format, still supported)
|
||||
# fileStrategy: "s3"
|
||||
|
||||
# Granular file storage strategies (new format - recommended)
|
||||
# Allows different storage strategies for different file types
|
||||
# fileStrategy:
|
||||
# avatar: "s3" # Storage for user/agent avatar images
|
||||
# image: "firebase" # Storage for uploaded images in chats
|
||||
# document: "local" # Storage for document uploads (PDFs, text files, etc.)
|
||||
|
||||
# Available strategies: "local", "s3", "firebase"
|
||||
# If not specified, defaults to "local" for all file types
|
||||
# You can mix and match strategies based on your needs:
|
||||
# - Use S3 for avatars for fast global access
|
||||
# - Use Firebase for images with automatic optimization
|
||||
# - Use local storage for documents for privacy/compliance
|
||||
|
||||
# Custom interface configuration
|
||||
interface:
|
||||
customWelcome: 'Welcome to LibreChat! Enjoy your experience.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue