22 lines
583 B
Bash
22 lines
583 B
Bash
# tg-watchbot environment
|
|
# Create a bot with @BotFather, then put the token here.
|
|
TELEGRAM_BOT_TOKEN=
|
|
|
|
# Telegram numeric chat id that receives monitor notifications and user messages.
|
|
ADMIN_CHAT_ID=
|
|
|
|
LOG_LEVEL=INFO
|
|
|
|
# Web admin panel. Bind to localhost by default; use a reverse proxy / Cloudflare Tunnel if exposing it.
|
|
WEB_PANEL_ENABLED=true
|
|
WEB_PANEL_HOST=127.0.0.1
|
|
WEB_PANEL_PORT=8765
|
|
WEB_PANEL_USER=admin
|
|
WEB_PANEL_PASSWORD=change-me
|
|
WEB_PANEL_SESSION_SECRET=
|
|
|
|
# Optional: user-session listener for TG groups where bot cannot be added.
|
|
TG_API_ID=
|
|
TG_API_HASH=
|
|
TG_API_SESSION=
|