-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (27 loc) · 790 Bytes
/
.env.example
File metadata and controls
35 lines (27 loc) · 790 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
31
32
33
34
35
NODE_ENV=development
LOG_LEVEL=debug
# Database
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/dcc_scanner
# Redis
REDIS_URL=redis://localhost:6379
# DecentralChain Node
DCC_NODE_URL=https://mainnet-node.decentralchain.io
DCC_DATA_SERVICE_URL=https://mainnet-node.decentralchain.io
DCC_CHAIN_ID=D
# Telegram
TELEGRAM_BOT_TOKEN=your-bot-token-here
# TELEGRAM_WEBHOOK_URL=https://your-domain.com/webhook (optional, omit for polling mode)
# TELEGRAM_MINI_APP_URL=https://your-miniapp.com (optional, HTTPS required)
# API
API_PORT=3200
API_RATE_LIMIT_MAX=100
API_RATE_LIMIT_WINDOW_MS=60000
# Indexer
INDEXER_START_HEIGHT=0
INDEXER_POLL_INTERVAL_MS=2000
INDEXER_BATCH_SIZE=10
# Metrics
METRICS_PORT=9090
METRICS_ENABLED=false
# Alerts
ALERT_CHECK_INTERVAL_MS=30000