-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.env
More file actions
57 lines (41 loc) · 1.38 KB
/
example.env
File metadata and controls
57 lines (41 loc) · 1.38 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
# OpenRouter API key for embedding generation
OPENROUTER_API_KEY=your-openrouter-api-key-here
# OpenRouter API URL
OPENROUTER_API_URL=https://openrouter.ai/api/v1
# Embedding model to use
OPENROUTER_EMBEDDING_MODEL=qwen/qwen3-embedding-8b
# Chat model to use for semantic analysis
OPENROUTER_CHAT_MODEL=meta-llama/llama-3.1-8b-instruct
# Embedding dimension (must match the embedding model's output dimension)
EMBEDDING_DIMENSION=4096
# PostgreSQL
POSTGRES_USER=ethos
POSTGRES_PASSWORD=change-me-to-a-strong-password
POSTGRES_DB=ethos
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
# ChromaDB
CHROMA_HOST=chromadb
CHROMA_PORT=8000
# Backend
BACKEND_PORT=23101
NODE_ENV=development
# Frontend
FRONTEND_PORT=23100
NEXT_PUBLIC_API_URL=http://localhost:23101
# HN API
HN_API_URL=https://hacker-news.firebaseio.com/v0
# Polling interval in seconds for fetching new stories
HN_POLL_INTERVAL=300
# Maximum age of stories to process (in hours). Stories older than this are skipped.
# Set lower in development to save on LLM costs.
HN_MAX_AGE_HOURS=8
# Maximum number of top stories to check per cycle (0 = unlimited)
HN_MAX_STORIES=0
# Maximum number of comments to analyze per story (0 = unlimited)
HN_MAX_COMMENTS_PER_STORY=0
# Delay in milliseconds between LLM API calls (rate limit protection for OpenRouter)
HN_LLM_DELAY_MS=200
# Admin credentials (change in production!)
ADMIN_EMAIL=ethos
ADMIN_PASS=ethos