Production Checklist¶
Use this checklist to deploy tg-note to production reliably.
Prerequisites¶
- Docker and Docker Compose installed
- Git repository prepared for your knowledge base
.envpopulated (at minimumTELEGRAM_BOT_TOKEN)
Steps¶
- Build and start services:
- Authenticate Qwen CLI inside the bot container (if using
qwen_code_cli): - Validate health:
Hardening¶
- Set
ALLOWED_USER_IDSto restrict access - Rotate API keys regularly
- Configure log rotation on host
- For vector search with Qdrant, set API keys (see vector guide)
Operations¶
- Update:
- Backup knowledge base and data directories regularly
Troubleshooting¶
- Check bot logs:
docker logs -f tg-note-bot - Check MCP Hub health:
curl http://localhost:8765/health - Verify
.envandconfig.yamlare mounted as expected