-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (36 loc) · 1.17 KB
/
.env.example
File metadata and controls
45 lines (36 loc) · 1.17 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
# discord stuff
DISCORD_TOKEN=your_discord_bot_token_here
OPENROUTER_API_KEY=your_openrouter_api_key_here
DISCORD_APPLICATION_ID=your_discord_application_id_here
# ai tools
TAVILY_API_KEY=your_tavily_api_key_here
CONTEXT7_API_KEY=your_context7_api_key_here_optional
# db
# Production (MongoDB Atlas):
# DATABASE_URL=mongodb+srv://username:password@host/database
# Local (Docker - no auth, replica set):
DATABASE_URL=mongodb://localhost:27017/brok?replicaSet=rs0
# API
API_PORT=3001
API_BASE_URL=http://localhost:3001
API_CORS_ORIGIN=http://localhost:3000
BETTER_AUTH_SECRET=your_secret_here
# Admin (set your Discord ID to access the admin API)
ADMIN_DISCORD_ID=your_discord_user_id
ADMIN_DISCORD_NAME=Your Name
# redis
# Production (Redis Cloud, Upstash, etc.):
# REDIS_URL=redis://default:password@host:port
# Local (Docker - no auth):
REDIS_URL=redis://localhost:6379
# rate limiting
RATE_LIMIT_USER_COOLDOWN_SECONDS=30
RATE_LIMIT_GLOBAL_CONCURRENT=5
DEBOUNCE_WINDOW_MS=5000
# berolab
BEROLAB_AUTH_TOKEN=berolab_auth_token_here
BEROLAB_API_ENDPOINT=https://berolab.app/api
# daily event scheduler (optional)
DAILY_EVENT_CHANNEL_ID=1371887722008150109
# enviroment
NODE_ENV=prod_or_test