AI-powered homelab monitoring and log analysis
- Python 78.1%
- HTML 21.5%
- Dockerfile 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| config | ||
| src/supervision | ||
| .gitignore | ||
| compose.yml | ||
| Dockerfile | ||
| pyproject.toml | ||
| README.md | ||
Supervision Docker Compose Setup
AI-powered system log analysis with Loki, Promtail, and Ollama.
Quick Start
- Configure - Edit
config/supervision.ymlto set your Ollama host and ntfy server - Deploy - Run
docker compose up -d - Access - Open http://localhost:7860 in your browser
Configuration
Before deploying, update config/supervision.yml:
ollama:
host: "http://YOUR_OLLAMA_HOST:11434" # Update this!
model: "qwen3:14b"
notifications:
ntfy:
server: "https://YOUR_NTFY_SERVER" # Update this!
topic: "supervision-alerts"
Services
- Loki - Log aggregation (port 3101)
- Promtail - Log collection from Docker & systemd
- Supervision - AI analysis web UI (port 7860)
Maintenance
# View logs
docker compose logs -f supervision
# Restart
docker compose restart supervision
# Update
docker compose pull
docker compose up -d
# Stop
docker compose down
Using Custom Image
To build locally instead of pulling from registry:
- Copy Dockerfile to this directory
- Copy
src/directory to this directory - Copy
pyproject.tomlto this directory - Update
compose.ymlto usebuildinstead ofimage:
supervision:
build:
context: .
dockerfile: Dockerfile
Data Persistence
- Loki logs:
loki-datavolume (7 day retention) - Analysis history:
supervision-datavolume