How pykhaled/overseer works
Overseer is a project-centric web service for observing and controlling Docker Compose applications. Users open its dashboard to view project and service status, resource usage, and declared dependencies, or use service controls to start, stop, and restart containers. The sampled implementation places web handling and much of the discovery, inspection, and metric logic in overseer/app.py; the README documents the user-facing capabilities. The excerpts do not show the route handlers’ full internal call structure, so the graph avoids inferring links between those internal stages.
Main entry points: app.py Flask application · dashboard.html Project dashboard · index.html Dependency graph · services.html Service controls
Components 11
Web interface
- Flask application
overseer/app.py - Project dashboard
overseer/templates/dashboard.html - Dependency graph
overseer/templates/index.html - Service controls
overseer/templates/services.html
Project observability
- Compose discovery
overseer/app.py - Container inspection
overseer/app.py - Resource metrics
overseer/app.py - Project summary
overseer/app.py
Service control
- Container lifecycle
overseer/app.py
Other components
- Project operator
- Docker Engine
Connections 11
- Project operator → Flask application: opens dashboard
README.md - Flask application → Project dashboard: serves overview
README.md - Flask application → Dependency graph: serves graph
README.md - Flask application → Service controls: serves controls
README.md - Flask application → Docker Engine: manages containers
README.md - Docker Engine → Compose discovery: provides services
README.md - Docker Engine → Container inspection: provides state
overseer/app.py - Docker Engine → Resource metrics: provides stats
overseer/app.py - Flask application → Container lifecycle: routes controls
overseer/app.py - Container lifecycle → Docker Engine: starts or stops
overseer/app.py - Compose discovery → Project summary: summarizes project
overseer/app.py