-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
52 lines (44 loc) · 2.62 KB
/
Copy path.env.example
File metadata and controls
52 lines (44 loc) · 2.62 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
47
48
49
50
51
52
# ─────────────────────────────────────────────────────────────────────────────
# Solarch self-host configuration.
#
# Easiest: run ./install.sh (Linux/macOS) or ./install.ps1 (Windows) — an interactive
# wizard that fills this file for you. Or copy this to `.env`, edit, then:
# docker compose up --build → http://localhost:3000
#
# Only Neo4j + one AI provider are required.
# ─────────────────────────────────────────────────────────────────────────────
PUBLIC_URL=http://localhost:3000
PORT_PUBLIC=3000
# ── Exposure / network (security) ────────────────────────────────────────────
# Local (default): only this machine can reach the app.
BIND_ADDRESS=127.0.0.1
# LAN / VPS: set BIND_ADDRESS=0.0.0.0 AND enable basic auth below (install.sh option 2).
# SOLARCH_BASIC_AUTH_USER=
# SOLARCH_BASIC_AUTH_HASH= # bcrypt from: caddy hash-password --plaintext 'your-password'
# Rate limits (server-side; per IP by default in self-host mode)
# CODEGEN_FILL_THROTTLE_LIMIT=10 # surgical-fill requests per minute (global 60/min + AI 20/min are fixed)
# ── Database (Neo4j) — minimum 8 characters (Neo4j 5 requirement) ─────────────
NEO4J_PASSWORD=change_me_please
# ── Local owner identity (no login screen) ───────────────────────────────────
LOCAL_USER_ID=local_owner
# ── AI provider — pick ONE and set its key ───────────────────────────────────
# Provider ids: openai | anthropic | google | deepseek | mistral | groq |
# openrouter | ollama | bedrock | openai-compatible
LLM_GENERATION_PROVIDER=openai
LLM_CHAT_PROVIDER=openai
# LLM_MODEL=gpt-4o
OPENAI_API_KEY=sk-xxxxxxxx
# ANTHROPIC_API_KEY=sk-ant-...
# GOOGLE_API_KEY=...
# DEEPSEEK_API_KEY=...
# MISTRAL_API_KEY=...
# GROQ_API_KEY=...
# OPENROUTER_API_KEY=...
# OLLAMA_BASE_URL=http://host.docker.internal:11434
# BEDROCK_API_KEY=
# BEDROCK_BASE_URL=
# LLM_API_KEY=
# LLM_BASE_URL=
# ── Embeddings (GraphRAG) — local by default ────────────────────────────────
# EMBED_PROVIDER=local
# EMBED_MODEL=Xenova/paraphrase-multilingual-MiniLM-L12-v2