-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
77 lines (61 loc) · 2.35 KB
/
.env.example
File metadata and controls
77 lines (61 loc) · 2.35 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Database
# Format: postgresql+asyncpg://username:password@host:port/database_name
DATABASE_URL=postgresql+asyncpg://memoryos:memoryos123@localhost:5432/memoryos
# Qdrant vector database
QDRANT_URL=http://localhost:6333
QDRANT_API_KEY=
# Redis
REDIS_URL=redis://localhost:6379/0
# Celery
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/1
# Gemini
GEMINI_API_KEY=your-gemini-api-key-here
GEMINI_API_KEY_SECRET_NAME=
GEMINI_MODEL=gemini-2.5-flash
GEMINI_TIMEOUT_SECONDS=30
# OpenAI
# Needed only if you add/use an embedding model row with provider='openai'
OPENAI_API_KEY=your-openai-api-key-here
OPENAI_MODEL=gpt-4o-mini
OPENAI_TIMEOUT_SECONDS=30
# Anthropic
# Needed only if you enable extraction failover to Anthropic
ANTHROPIC_API_KEY=your-anthropic-api-key-here
ANTHROPIC_API_KEY_SECRET_NAME=
ANTHROPIC_MODEL=claude-haiku-4-5-20251001
ANTHROPIC_TIMEOUT_SECONDS=30
# LLM extraction failover order. Providers without API keys are skipped.
LLM_PROVIDER_ORDER=gemini,openai,anthropic
# Cohere
# Needed only if you enable embedding failover to Cohere
COHERE_API_KEY=your-cohere-api-key-here
COHERE_API_KEY_SECRET_NAME=
# Local embeddings
# Needed only if you add/use an embedding model row with provider='local'
LOCAL_EMBEDDING_ENDPOINT=http://localhost:11434/api/embeddings
# Extraction
EXTRACTION_MODEL=gemini-2.5-flash
# Embeddings
# Default seeded model is gemini-embedding-001-v1 -> collection 'memories'
# Active embedding provider/model is controlled by the embedding_models table
EMBEDDING_MODEL=gemini-embedding-001
EMBEDDING_DIMENSIONS=1536
# Clerk authentication
CLERK_SECRET_KEY=sk_test_your-clerk-secret-key
CLERK_PUBLISHABLE_KEY=pk_test_your-clerk-publishable-key
CLERK_JWT_ISSUER=https://sterling-marmot-18.clerk.accounts.dev
CLERK_WEBHOOK_SECRET=whsec_your-clerk-webhook-secret
# Sentry error monitoring
SENTRY_DSN=https://your-sentry-dsn@sentry.io/123
# App settings
APP_ENV=development
SECRET_KEY=generate-a-random-string-here
ADMIN_SECRET=generate-a-separate-32-plus-character-admin-secret
APP_VERSION=dev
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001
# Billing / upgrade links used in quota and webhook payloads
BILLING_UPGRADE_URL=https://memoryos.io/pricing
# Note:
# Tenant alert webhook URLs and webhook secrets are stored per-tenant in tenant_budgets.
# They are not configured through environment variables.