-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
52 lines (44 loc) · 2.05 KB
/
.env.example
File metadata and controls
52 lines (44 loc) · 2.05 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
# =============================================================================
# Recto Configuration
# =============================================================================
# Copy this file to .env and fill in your values:
# cp .env.example .env
# --- Database ----------------------------------------------------------------
DATABASE_URL=postgresql://recto:recto@localhost:5432/recto
DB_PASSWORD=recto
# --- Auth --------------------------------------------------------------------
# Required (min 32 characters). Used to authenticate all API and MCP requests.
RECTO_API_KEY=change-me-to-a-secret-key-at-least-32-chars
# --- LLM Provider (auto-tagging, summarization, reflection) ------------------
# Options: anthropic | openai | none
LLM_PROVIDER=none
# ANTHROPIC_API_KEY=sk-ant-...
# OPENAI_API_KEY=sk-...
# --- Embedding Provider (semantic search — optional) -------------------------
# Options: openai | voyageai | ollama | none
EMBEDDING_PROVIDER=none
# OPENAI_API_KEY=sk-... # reused if LLM_PROVIDER=openai
# VOYAGE_API_KEY=...
# OLLAMA_URL=http://localhost:11434
# OLLAMA_EMBEDDING_MODEL=nomic-embed-text
# Override auto-detected embedding dimensions (optional)
# EMBEDDING_DIMENSIONS=1536
# --- Domain & OAuth -----------------------------------------------------------
# The domain Caddy listens on. Also used to derive the OAuth issuer URL
# (https://<RECTO_DOMAIN>). Set to your ngrok/public domain for remote access.
# RECTO_DOMAIN=localhost
# If behind a TLS-terminating proxy (ngrok, Cloudflare, AWS ALB), uncomment:
# CADDY_GLOBAL_OPTIONS=auto_https off
# RECTO_ACCESS_TOKEN_TTL=3600
# RECTO_REFRESH_TOKEN_TTL=7776000
# --- Web UI Auth (required for exposing the dashboard) ----------------------
# Username for basic auth (default: admin)
RECTO_WEB_USER=admin
# Bcrypt hash of your password. Generate with:
# docker run --rm caddy:2-alpine caddy hash-password --plaintext 'your-password'
RECTO_WEB_PASSWORD_HASH=
# --- Ports -------------------------------------------------------------------
API_PORT=3000
MCP_PORT=3001
WEB_PORT=5173
DB_PORT=5432