-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (29 loc) · 1.74 KB
/
Copy path.env.example
File metadata and controls
37 lines (29 loc) · 1.74 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
# ── ReFrame Bot — Environment Variables ──────────────────────────────────────
# Copy this file to .env and fill in your values.
# Telegram Bot Token (from @BotFather)
BOT_TOKEN=YOUR_BOT_TOKEN_HERE
# Comma-separated Telegram user IDs that have admin access
# Example: ADMIN_IDS=123456789,987654321
ADMIN_IDS=YOUR_ADMIN_ID_HERE
# ── Database ────────────────────────────────────────────────────────────────
# Backend: "sqlite" (default) or "postgresql"
DB_BACKEND=sqlite
# SQLite database file (used when DB_BACKEND=sqlite)
DB_FILE=bot_data.db
# PostgreSQL connection URL (used when DB_BACKEND=postgresql)
# Format: postgresql://user:password@host:port/dbname
DATABASE_URL=
# ── Redis ───────────────────────────────────────────────────────────────────
# Redis URL for distributed rate limiting and caching
# Format: redis://host:port/db
REDIS_URL=
# ── Feature Flags ───────────────────────────────────────────────────────────
# Enable/disable features at runtime
FF_RATE_LIMITING=true
FF_SCANNER=true
FF_METRICS=true
FF_TRACING=false
# ── Optional overrides ──────────────────────────────────────────────────────
# MAX_FILE_SIZE_MB=50
# MAX_CONCURRENT_JOBS=2
# TEMP_DIR=temp_media