chore: organized env example style

This commit is contained in:
Muhamad Aji Wibisono 2025-06-10 23:26:28 +07:00
parent 131397de4e
commit d31b9589fb

View file

@ -3,42 +3,42 @@ DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/surfsense
SECRET_KEY=SECRET SECRET_KEY=SECRET
NEXT_FRONTEND_URL=http://localhost:3000 NEXT_FRONTEND_URL=http://localhost:3000
#Auth # Auth
AUTH_TYPE=GOOGLE or LOCAL AUTH_TYPE=GOOGLE or LOCAL
# For Google Auth Only # For Google Auth Only
GOOGLE_OAUTH_CLIENT_ID=924507538m GOOGLE_OAUTH_CLIENT_ID=924507538m
GOOGLE_OAUTH_CLIENT_SECRET=GOCSV GOOGLE_OAUTH_CLIENT_SECRET=GOCSV
#Embedding Model # Embedding Model
EMBEDDING_MODEL=mixedbread-ai/mxbai-embed-large-v1 EMBEDDING_MODEL=mixedbread-ai/mxbai-embed-large-v1
RERANKERS_MODEL_NAME=ms-marco-MiniLM-L-12-v2 RERANKERS_MODEL_NAME=ms-marco-MiniLM-L-12-v2
RERANKERS_MODEL_TYPE=flashrank RERANKERS_MODEL_TYPE=flashrank
#LiteLLM TTS Provider: https://docs.litellm.ai/docs/text_to_speech#supported-providers # LiteLLM TTS Provider: https://docs.litellm.ai/docs/text_to_speech#supported-providers
TTS_SERVICE=openai/tts-1 TTS_SERVICE=openai/tts-1
#Respective TTS Service API # Respective TTS Service API
TTS_SERVICE_API_KEY= TTS_SERVICE_API_KEY=
#OPTIONAL: TTS Provider API Base # OPTIONAL: TTS Provider API Base
TTS_SERVICE_API_BASE= TTS_SERVICE_API_BASE=
#LiteLLM STT Provider: https://docs.litellm.ai/docs/audio_transcription#supported-providers # LiteLLM STT Provider: https://docs.litellm.ai/docs/audio_transcription#supported-providers
STT_SERVICE=openai/whisper-1 STT_SERVICE=openai/whisper-1
#Respective STT Service API # Respective STT Service API
STT_SERVICE_API_KEY="" STT_SERVICE_API_KEY=""
#OPTIONAL: STT Provider API Base # OPTIONAL: STT Provider API Base
STT_SERVICE_API_BASE= STT_SERVICE_API_BASE=
FIRECRAWL_API_KEY=fcr-01J0000000000000000000000 FIRECRAWL_API_KEY=fcr-01J0000000000000000000000
#File Parser Service # File Parser Service
ETL_SERVICE=UNSTRUCTURED or LLAMACLOUD ETL_SERVICE=UNSTRUCTURED or LLAMACLOUD
UNSTRUCTURED_API_KEY=Tpu3P0U8iy UNSTRUCTURED_API_KEY=Tpu3P0U8iy
LLAMA_CLOUD_API_KEY=llx-nnn LLAMA_CLOUD_API_KEY=llx-nnn
#OPTIONAL: Add these for LangSmith Observability # OPTIONAL: Add these for LangSmith Observability
LANGSMITH_TRACING=true LANGSMITH_TRACING=true
LANGSMITH_ENDPOINT=https://api.smith.langchain.com LANGSMITH_ENDPOINT=https://api.smith.langchain.com
LANGSMITH_API_KEY=lsv2_pt_..... LANGSMITH_API_KEY=lsv2_pt_.....
@ -52,13 +52,13 @@ LONG_CONTEXT_LLM_API_BASE=""
TTS_SERVICE_API_BASE="" TTS_SERVICE_API_BASE=""
STT_SERVICE_API_BASE="" STT_SERVICE_API_BASE=""
# --- Uvicorn Server Configuration --- # Uvicorn Server Configuration
# Full documentation for Uvicorn options can be found at: https://www.uvicorn.org/#command-line-options # Full documentation for Uvicorn options can be found at: https://www.uvicorn.org/#command-line-options
UVICORN_HOST="0.0.0.0" UVICORN_HOST="0.0.0.0"
UVICORN_PORT=8000 UVICORN_PORT=8000
UVICORN_LOG_LEVEL=info UVICORN_LOG_LEVEL=info
# --- Advanced Uvicorn Options --- # OPTIONAL: Advanced Uvicorn Options (uncomment to use)
# UVICORN_PROXY_HEADERS=false # UVICORN_PROXY_HEADERS=false
# UVICORN_FORWARDED_ALLOW_IPS="127.0.0.1" # UVICORN_FORWARDED_ALLOW_IPS="127.0.0.1"
# UVICORN_WORKERS=1 # UVICORN_WORKERS=1