-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (59 loc) · 2.21 KB
/
.env.example
File metadata and controls
68 lines (59 loc) · 2.21 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
# ===================================
# BRIEFBOT ENVIRONMENT CONFIGURATION
# ===================================
# Copy this file to .env and fill in your actual values
# The professor should receive the real .env file via email
# ===================================
# DATABASE CONFIGURATION
# ===================================
# For Docker: Use postgres:5432 as host
# For local dev: Use localhost:5432 as host
DATABASE_URL=postgres://briefbot:briefbot@postgres:5432/briefbot?sslmode=disable
GOOSE_DRIVER=postgres
GOOSE_DBSTRING=postgres://briefbot:briefbot@postgres:5432/briefbot?sslmode=disable
GOOSE_MIGRATION_DIR=sql/migrations
# ===================================
# APPLICATION SETTINGS
# ===================================
PORT=8080
FRONTEND_BASE_URL=http://localhost:3000
# ===================================
# AI SERVICES
# ===================================
# GROQ API for LLM (required for AI summarization)
GROQ_API_KEY=your_groq_api_key_here
# FAL API for text-to-speech (required for podcast audio)
FAL_API_KEY=your_fal_api_key_here
# ===================================
# EMAIL SERVICE (AWS SES)
# ===================================
# Required for daily digest emails
AWS_ACCESS_KEY_ID=your_aws_access_key_here
AWS_SECRET_ACCESS_KEY=your_aws_secret_key_here
AWS_REGION=us-east-1
SES_FROM_EMAIL=your-email@domain.com
SES_FROM_NAME=BriefBot
SES_REPLY_TO_EMAIL=your-email@domain.com
# ===================================
# CLOUDFLARE R2 STORAGE
# ===================================
# Required for podcast audio storage
R2_ACCESS_KEY_ID=your_r2_access_key_here
R2_SECRET_ACCESS_KEY=your_r2_secret_key_here
R2_ACCOUNT_ID=your_r2_account_id_here
R2_BUCKET_NAME=briefbot
R2_PUBLIC_HOST=https://your-bucket.r2.cloudflarestorage.com
# ===================================
# CLOUDFLARE AI WORKERS
# ===================================
CLOUDFLARE_ACCOUNT_ID=your_cloudflare_account_id_here
CLOUDFLARE_WORKERS_AI_API_TOKEN=your_cloudflare_token_here
# ===================================
# TELEGRAM BOT
# ===================================
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
# ===================================
# FEATURE FLAGS
# ===================================
DIGEST_PODCAST_ENABLED=true
MAX_CONCURRENT_AUDIO_REQUESTS=5