23 lines
1.3 KiB
Bash
23 lines
1.3 KiB
Bash
# ── Required ───────────────────────────────────────────────────────────────────
|
|
# Telegram Bot token from @BotFather
|
|
BOT_TOKEN=your_bot_token_here
|
|
|
|
# Public HTTPS URL of this deployment (used for webhook registration)
|
|
# Leave empty in development - bot will use polling mode instead
|
|
WEBHOOK_URL=https://your-domain.com
|
|
|
|
# Random secret for validating Telegram webhook requests (optional but recommended)
|
|
WEBHOOK_SECRET=generate_a_random_secret_here
|
|
|
|
# Full public URL to the Mini App frontend (used in bot buttons)
|
|
MINI_APP_URL=https://your-domain.com
|
|
|
|
# ── Database ───────────────────────────────────────────────────────────────────
|
|
POSTGRES_PASSWORD=change_me_in_production
|
|
|
|
# ── Optional ───────────────────────────────────────────────────────────────────
|
|
PORT=80
|
|
DEBUG=false
|
|
# How long (seconds) to cache user avatar URLs before re-fetching from Telegram (default: 3600)
|
|
AVATAR_CACHE_TTL=3600
|