# Minimal environment for running the Telegram bot on a separate server. # Copy to `.env` on the bot host and fill in the secrets. # # The bot is stateless: it polls Telegram and calls the central API over HTTP(S). # It does NOT need DB/RabbitMQ/MinIO/LLM credentials. Keep this file minimal. ENV=prod LOG_LEVEL=INFO LOG_FORMAT=json # Telegram bot token from @BotFather. BOT_TOKEN= # Bearer token the bot uses to authenticate against the API on # POST /api/v1/auth/telegram/bot. Must match the hash stored in # service_tokens.name='bot-prod' on the central API server. BOT_SERVICE_TOKEN= # Public URL of the central API, without trailing slash. # Example: https://contract-check.example.com API_URL= # Optional: Redis URL for shared rate-limit state. # Leave empty for the in-memory backend (recommended for a single bot instance). # If set, Redis must be reachable from this host over a private network/VPN; # never expose Redis to the public internet. REDIS_URL=