# 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= # Redis URL for rate-limit state. # Default in docker-compose.bot.yml is the local Redis container (redis://redis:6379/0). # Set to empty to use the in-memory backend (fine for a single bot instance). # If you point this at an external Redis, it must be reachable over a private # network/VPN; never expose Redis to the public internet. REDIS_URL=redis://redis:6379/0