Monitor and manage Docker containers from Telegram with AI log analysis
This workflow gives you a smart Telegram command center for your homelab. It lets you monitor Docker containers, get alerts the moment something fails, view logs, and restart services remotely. When you request logs, they're automatically analyzed by an LLM so you get a clear, structured breakdown instead of raw terminal output.
Who it's for
Anyone running a self-hosted environment who wants quick visibility and control without SSHing into a server. Perfect for homelab enthusiasts, self-hosters, and DevOps folks who want a lightweight on-call assistant.
What it does
Receives container heartbeat alerts via webhook
Sends Telegram notifications for status changes or failures
Lets you request logs or restart services from chat
Analyzes logs with GPT and summarizes them clearly
Supports manual “status” and “update all containers” commands
Requirements
Telegram Bot API credentials
SSH access to your Docker host
How to set it up
Customize it
Swap SSH commands for Kubernetes if you're on k8s
Change the AI model to another provider
Extend with health checks or auto-healing logic