File size: 728 Bytes
241535f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Supabase project URL from Project Settings -> Data API
SUPABASE_URL=https://your-project-ref.supabase.co

# Server-only Supabase secret key from Project Settings -> API Keys -> Secret keys
# Never expose this key in frontend JavaScript or commit your real .env file.
SUPABASE_SERVICE_ROLE_KEY=your-supabase-secret-key

# Public Supabase Storage bucket used for chat file uploads
SUPABASE_BUCKET=chat-files

# How long messages and uploaded files should stay available
ROOM_HISTORY_HOURS=5

# How long room history is cached in app memory before refetching
HISTORY_CACHE_SECONDS=30

# How often the app checks for expired messages/files to delete
CLEANUP_INTERVAL_SECONDS=600

# Local/server port for the FastAPI app
PORT=7860