-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
46 lines (38 loc) · 1.58 KB
/
Copy path.env.example
File metadata and controls
46 lines (38 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# SourceBridge Environment Configuration
#
# Copy this file to .env and customize for your setup:
# cp .env.example .env
#
# All variables are optional. Defaults work for local development with Ollama.
# --- LLM Provider ---
# Choose one provider: anthropic, openai, ollama, gemini, openrouter, vllm, llama-cpp, sglang, lmstudio
SOURCEBRIDGE_LLM_PROVIDER=ollama
SOURCEBRIDGE_LLM_MODEL=qwen3:32b
# SOURCEBRIDGE_LLM_API_KEY= # Required for cloud providers (Anthropic, OpenAI, etc.)
# SOURCEBRIDGE_LLM_BASE_URL= # Override for local providers (default: http://host.docker.internal:11434/v1)
# --- Cloud provider examples (uncomment one block) ---
# Anthropic
# SOURCEBRIDGE_LLM_PROVIDER=anthropic
# SOURCEBRIDGE_LLM_API_KEY=sk-ant-...
# SOURCEBRIDGE_LLM_MODEL=claude-sonnet-4-20250514
# OpenAI
# SOURCEBRIDGE_LLM_PROVIDER=openai
# SOURCEBRIDGE_LLM_API_KEY=sk-...
# SOURCEBRIDGE_LLM_MODEL=gpt-4o
# --- Embedding Provider ---
SOURCEBRIDGE_WORKER_EMBEDDING_PROVIDER=ollama
SOURCEBRIDGE_WORKER_EMBEDDING_MODEL=nomic-embed-text
SOURCEBRIDGE_WORKER_EMBEDDING_DIMENSION=768
# SOURCEBRIDGE_WORKER_EMBEDDING_BASE_URL= # Default: http://host.docker.internal:11434
# --- Security ---
# Auto-generated if not set. Pin these for production deployments.
# SOURCEBRIDGE_SECURITY_JWT_SECRET=
# SOURCEBRIDGE_WORKER_GRPC_AUTH_SECRET=
# --- SurrealDB ---
# SOURCEBRIDGE_STORAGE_SURREAL_USER=root
# SOURCEBRIDGE_STORAGE_SURREAL_PASS=root
# --- Ports (change to avoid conflicts) ---
# SOURCEBRIDGE_API_PORT=8080
# SOURCEBRIDGE_WEB_PORT=3000
# SOURCEBRIDGE_SURREALDB_PORT=8000
# SOURCEBRIDGE_WORKER_PORT=50051