SurfSense/surfsense_backend/.env.example

89 lines
2.2 KiB
Text
Raw Normal View History

2025-06-09 15:50:15 -07:00
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/surfsense
2025-03-14 18:53:14 -07:00
2025-06-09 15:50:15 -07:00
SECRET_KEY=SECRET
NEXT_FRONTEND_URL=http://localhost:3000
#Auth
2025-06-09 15:50:15 -07:00
AUTH_TYPE=GOOGLE or LOCAL
# For Google Auth Only
2025-06-09 15:50:15 -07:00
GOOGLE_OAUTH_CLIENT_ID=924507538m
GOOGLE_OAUTH_CLIENT_SECRET=GOCSV
2025-04-20 23:34:21 -07:00
#Embedding Model
2025-06-09 15:50:15 -07:00
EMBEDDING_MODEL=mixedbread-ai/mxbai-embed-large-v1
2025-03-14 18:53:14 -07:00
2025-06-09 15:50:15 -07:00
RERANKERS_MODEL_NAME=ms-marco-MiniLM-L-12-v2
RERANKERS_MODEL_TYPE=flashrank
2025-03-14 18:53:14 -07:00
#LiteLLM TTS Provider: https://docs.litellm.ai/docs/text_to_speech#supported-providers
2025-06-09 15:50:15 -07:00
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
2025-06-09 15:50:15 -07:00
STT_SERVICE=openai/whisper-1
#Respective STT Service API
STT_SERVICE_API_KEY=""
#OPTIONAL: STT Provider API Base
STT_SERVICE_API_BASE=
2025-03-14 18:53:14 -07:00
2025-06-09 15:50:15 -07:00
FIRECRAWL_API_KEY=fcr-01J0000000000000000000000
2025-04-21 01:36:19 -07:00
#File Parser Service
2025-06-09 15:50:15 -07:00
ETL_SERVICE=UNSTRUCTURED or LLAMACLOUD
UNSTRUCTURED_API_KEY=Tpu3P0U8iy
LLAMA_CLOUD_API_KEY=llx-nnn
2025-04-21 01:36:19 -07:00
#OPTIONAL: Add these for LangSmith Observability
LANGSMITH_TRACING=true
2025-06-09 15:50:15 -07:00
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
2025-06-10 22:52:19 +07:00
UVICORN_HOST="0.0.0.0"
UVICORN_PORT=8000
UVICORN_LOG_LEVEL=info
2025-06-10 22:52:19 +07:00
# --- Advanced Uvicorn Options ---
# UVICORN_PROXY_HEADERS=false
# UVICORN_FORWARDED_ALLOW_IPS="127.0.0.1"
# UVICORN_WORKERS=1
# UVICORN_ACCESS_LOG=true
# UVICORN_LOOP="auto"
# UVICORN_HTTP="auto"
# UVICORN_WS="auto"
# UVICORN_LIFESPAN="auto"
# UVICORN_LOG_CONFIG=""
# UVICORN_SERVER_HEADER=true
# UVICORN_DATE_HEADER=true
# UVICORN_LIMIT_CONCURRENCY=
# UVICORN_LIMIT_MAX_REQUESTS=
# UVICORN_TIMEOUT_KEEP_ALIVE=5
# UVICORN_TIMEOUT_NOTIFY=30
# UVICORN_SSL_KEYFILE=""
# UVICORN_SSL_CERTFILE=""
# UVICORN_SSL_KEYFILE_PASSWORD=""
# UVICORN_SSL_VERSION=""
# UVICORN_SSL_CERT_REQS=""
# UVICORN_SSL_CA_CERTS=""
# UVICORN_SSL_CIPHERS=""
# UVICORN_HEADERS=""
# UVICORN_USE_COLORS=true
# UVICORN_UDS=""
# UVICORN_FD=""
# UVICORN_ROOT_PATH=""