# 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