- 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.
92 lines
1.1 KiB
Plaintext
92 lines
1.1 KiB
Plaintext
# Database files
|
|
/database/tg-bot-database.db
|
|
/database/tg-bot-database.db-shm
|
|
/database/tg-bot-database.db-wm
|
|
/database/tg-bot-database.db-wal
|
|
/database/test.db
|
|
/database/test.db-shm
|
|
/database/test.db-wal
|
|
/database/test_auto_unban.db
|
|
/database/test_auto_unban.db-shm
|
|
/database/test_auto_unban.db-wal
|
|
|
|
/myenv/
|
|
/venv/
|
|
/.venv/
|
|
|
|
# Logs
|
|
/logs/*.log
|
|
|
|
# Testing and coverage files
|
|
.coverage
|
|
coverage.xml
|
|
htmlcov/
|
|
.pytest_cache/
|
|
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
*.pyd
|
|
.Python
|
|
*.so
|
|
|
|
# Test database files
|
|
database/test.db
|
|
test.db
|
|
*.db
|
|
|
|
# IDE and editor files
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS generated files
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
|
|
# Documentation files
|
|
PERFORMANCE_IMPROVEMENTS.md
|
|
|
|
# PID files
|
|
*.pid
|
|
helper_bot.pid
|
|
voice_bot.pid
|
|
|
|
# Docker and build artifacts
|
|
*.tar.gz
|
|
prometheus-*/
|
|
node_modules/
|
|
|
|
# Environment files
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
*.temp
|
|
*.log
|
|
*.pid
|
|
|
|
# Python cache
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
.cache/
|
|
.mypy_cache/
|
|
|
|
# Virtual environments
|
|
.venv/
|
|
venv/
|
|
env/
|
|
ENV/
|
|
env.bak/
|
|
venv.bak/
|