-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (25 loc) · 830 Bytes
/
.env.example
File metadata and controls
30 lines (25 loc) · 830 Bytes
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
# Database
DATABASE_URL="postgresql://[username]:[password]@[host]:[port]/[database]?pgbouncer=true&timezone=Asia/Hong_Kong"
# Supabase
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_key
# Redis
REDIS_HOST=43.163.91.9
REDIS_PORT=6379
REDIS_PASSWORD=your_redis_password
# Queue Redis (optional, defaults to Redis settings)
QUEUE_REDIS_HOST=43.163.91.9
QUEUE_REDIS_PORT=6379
QUEUE_REDIS_PASSWORD=your_queue_redis_password
QUEUE_REDIS_DB=1
PORT=3000
ENABLE_TIERED_MUTATION_QUEUES=false
ENABLE_MUTATION_CONFLICT_GUARD=true
# Optional tuning:
# MUTATION_LOCK_TTL_MS=30000
# MUTATION_LOCK_WAIT_TIMEOUT_MS=120000
# MUTATION_LOCK_RETRY_DELAY_MS=250
# MUTATION_LOCK_HEARTBEAT_MS=10000
# Telegram direct bot API notifications (optional, used by src/utils/notify.ts sendTelegramMessage)
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=