DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/surfsense SECRET_KEY=SECRET NEXT_FRONTEND_URL=http://localhost:3000 #Auth AUTH_TYPE=GOOGLE or LOCAL # For Google Auth Only GOOGLE_OAUTH_CLIENT_ID=924507538m GOOGLE_OAUTH_CLIENT_SECRET=GOCSV #Embedding Model EMBEDDING_MODEL=mixedbread-ai/mxbai-embed-large-v1 RERANKERS_MODEL_NAME=ms-marco-MiniLM-L-12-v2 RERANKERS_MODEL_TYPE=flashrank #LiteLLM TTS Provider: https://docs.litellm.ai/docs/text_to_speech#supported-providers TTS_SERVICE=openai/tts-1 #Respective TTS Service API TTS_SERVICE_API_KEY= #OPTIONAL: TTS Provider API Base TTS_SERVICE_API_BASE= #LiteLLM STT Provider: https://docs.litellm.ai/docs/audio_transcription#supported-providers STT_SERVICE=openai/whisper-1 #Respective STT Service API STT_SERVICE_API_KEY="" #OPTIONAL: STT Provider API Base STT_SERVICE_API_BASE= FIRECRAWL_API_KEY=fcr-01J0000000000000000000000 #File Parser Service ETL_SERVICE=UNSTRUCTURED or LLAMACLOUD UNSTRUCTURED_API_KEY=Tpu3P0U8iy LLAMA_CLOUD_API_KEY=llx-nnn #OPTIONAL: Add these for LangSmith Observability LANGSMITH_TRACING=true LANGSMITH_ENDPOINT=https://api.smith.langchain.com LANGSMITH_API_KEY=lsv2_pt_..... LANGSMITH_PROJECT=surfsense # OPTIONAL: LiteLLM API Base FAST_LLM_API_BASE="" STRATEGIC_LLM_API_BASE="" LONG_CONTEXT_LLM_API_BASE="" TTS_SERVICE_API_BASE="" STT_SERVICE_API_BASE="" # --- Uvicorn Server Configuration --- # Full documentation for Uvicorn options can be found at: https://www.uvicorn.org/#command-line-options UVICORN_HOST="0.0.0.0" # Host to bind (default: 0.0.0.0) UVICORN_PORT=8000 # Port to bind (default: 8000) UVICORN_LOG_LEVEL="info" # Log level (critical, error, warning, info, debug, trace) # --- Advanced Uvicorn Options (uncomment to use) --- # UVICORN_PROXY_HEADERS=false # Enable proxy headers (true/false) # UVICORN_FORWARDED_ALLOW_IPS="127.0.0.1" # Comma-separated list of IPs to trust with proxy headers # UVICORN_WORKERS=1 # Number of worker processes # UVICORN_ACCESS_LOG=true # Access log (true/false) # UVICORN_LOOP="auto" # Event loop implementation (auto, asyncio, uvloop) # UVICORN_HTTP="auto" # HTTP protocol implementation (auto, h11, httptools) # UVICORN_WS="auto" # WebSocket protocol implementation (auto, none, websockets, wsproto) # UVICORN_LIFESPAN="auto" # Lifespan implementation (auto, on, off) # UVICORN_ENV_FILE=".env" # Environment configuration file # UVICORN_LOG_CONFIG="" # Logging configuration file (YAML/JSON/dict) # UVICORN_SERVER_HEADER=true # Enable server header (true/false) # UVICORN_DATE_HEADER=true # Enable date header (true/false) # UVICORN_LIMIT_CONCURRENCY= # Maximum number of concurrent connections or tasks # UVICORN_LIMIT_MAX_REQUESTS= # Maximum number of requests a worker will process before restarting # UVICORN_TIMEOUT_KEEP_ALIVE=5 # Timeout for keep-alive connections (seconds) # UVICORN_TIMEOUT_NOTIFY=30 # Timeout for graceful shutdown (seconds) # UVICORN_SSL_KEYFILE="" # SSL key file (path) # UVICORN_SSL_CERTFILE="" # SSL certificate file (path) # UVICORN_SSL_KEYFILE_PASSWORD="" # SSL key file password # UVICORN_SSL_VERSION="" # SSL version to use # UVICORN_SSL_CERT_REQS="" # Whether client certificate is required (none, optional, required) # UVICORN_SSL_CA_CERTS="" # CA certificates file # UVICORN_SSL_CIPHERS="" # Ciphers to use # UVICORN_HEADERS="" # List of custom default HTTP response headers (comma-separated, e.g. X-Frame-Options:DENY,X-Content-Type-Options:nosniff) # UVICORN_USE_COLORS=true # Enable colorized logging output (true/false) # UVICORN_UDS="" # Bind to a UNIX domain socket (overrides host/port) # UVICORN_FD="" # Bind to socket from this file descriptor # UVICORN_ROOT_PATH="" # Root path for ASGI applications submounted below a given URL path