Files
telegram-helper-bot/env.example
Andrey 8f338196b7 Refactor Docker and configuration files for improved structure and functionality
- Updated `.dockerignore` to include additional development and temporary files, enhancing build efficiency.
- Modified `.gitignore` to remove unnecessary entries and streamline ignored files.
- Enhanced `docker-compose.yml` with health checks, resource limits, and improved environment variable handling for better service management.
- Refactored `Dockerfile.bot` to utilize a multi-stage build for optimized image size and security.
- Improved `Makefile` with new commands for deployment, migration, and backup, along with enhanced help documentation.
- Updated `requirements.txt` to include new dependencies for environment variable management.
- Refactored metrics handling in the bot to ensure proper initialization and collection.
2025-08-29 23:15:06 +03:00

30 lines
583 B
Plaintext

# Telegram Bot Configuration
BOT_TOKEN=your_bot_token_here
LISTEN_BOT_TOKEN=your_listen_bot_token_here
TEST_BOT_TOKEN=your_test_bot_token_here
# Telegram Groups
MAIN_PUBLIC=@your_main_public_group
GROUP_FOR_POSTS=-1001234567890
GROUP_FOR_MESSAGE=-1001234567890
GROUP_FOR_LOGS=-1001234567890
IMPORTANT_LOGS=-1001234567890
ARCHIVE=-1001234567890
TEST_GROUP=-1001234567890
# Bot Settings
PREVIEW_LINK=false
LOGS=false
TEST=false
# Database
DATABASE_PATH=database/tg-bot-database.db
# Monitoring
METRICS_HOST=0.0.0.0
METRICS_PORT=8000
# Logging
LOG_LEVEL=INFO
LOG_RETENTION_DAYS=30