-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
82 lines (69 loc) · 4.14 KB
/
.env.example
File metadata and controls
82 lines (69 loc) · 4.14 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
78
79
80
81
82
# ============================================================================
# AI Trend Monitor - Environment Configuration
# ============================================================================
# Copy this file to .env and edit the values for your deployment.
#
# cp .env.example .env
#
# SECURITY: Never commit .env to version control.
# ============================================================================
# ── Database (PostgreSQL) ──────────────────────────────────────────────────
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_DB=ai_trends
POSTGRES_USER=monitor
POSTGRES_PASSWORD=changeme_in_production
# ── Redis ──────────────────────────────────────────────────────────────────
REDIS_URL=redis://redis:6379/0
# ── FastAPI ────────────────────────────────────────────────────────────────
APP_ENV=production
APP_DEBUG=false
APP_HOST=0.0.0.0
APP_PORT=8000
APP_LOG_LEVEL=INFO
APP_API_KEY=
APP_CORS_ORIGINS=["http://localhost:8501"]
APP_WORKERS=1
# ── Celery ─────────────────────────────────────────────────────────────────
CELERY_BROKER_URL=redis://redis:6379/1
CELERY_RESULT_BACKEND=redis://redis:6379/2
# ── HuggingFace ────────────────────────────────────────────────────────────
HUGGINGFACE_TOKEN=
HF_MODELS_LIMIT=200
HF_REQUEST_TIMEOUT=30
# ── GitHub ─────────────────────────────────────────────────────────────────
GITHUB_TOKEN=
GITHUB_MIN_STARS=50
GITHUB_RESULTS_PER_PAGE=100
GITHUB_MAX_PAGES=5
GITHUB_REQUEST_TIMEOUT=30
# ── arXiv ──────────────────────────────────────────────────────────────────
ARXIV_MAX_RESULTS=500
ARXIV_REQUEST_DELAY=3.0
ARXIV_REQUEST_TIMEOUT=60
ARXIV_CATEGORIES=["cs.AI","cs.LG","cs.CL","cs.CV","cs.NE"]
# ── Ollama (LLM inference) ────────────────────────────────────────────────
OLLAMA_BASE_URL=http://ollama:11434
OLLAMA_MODEL=llama3.1:8b
OLLAMA_ENABLED=true
OLLAMA_TIMEOUT=120
OLLAMA_TEMPERATURE=0.3
# ── Telegram Bot ───────────────────────────────────────────────────────────
TELEGRAM_BOT_TOKEN=
TELEGRAM_ALLOWED_USERS=
TELEGRAM_ADMIN_USERS=
TELEGRAM_ENABLED=true
# ── Scheduler ──────────────────────────────────────────────────────────────
COLLECTION_SCHEDULE_HOURS=6
ANALYTICS_SCHEDULE_HOURS=12
# ── General ────────────────────────────────────────────────────────────────
LOG_LEVEL=INFO
ENVIRONMENT=production
SECRET_KEY=changeme_use_a_random_32_char_string
# ── Reports ────────────────────────────────────────────────────────────────
REPORTS_OUTPUT_DIR=/app/reports
REPORTS_MAX_AGE_DAYS=90
# ── Docker Compose port overrides ──────────────────────────────────────────
# DASHBOARD_PORT=8501
# POSTGRES_EXTERNAL_PORT=5432
# REDIS_EXTERNAL_PORT=6379