How petersem/monocker works
Monocker polls Docker containers, applies label and state filters, detects changes, and sends alerts through one configured messaging platform. Its documented integrations include Telegram, Pushbullet, Pushover, Discord, Ntfy, Slack, Gotify, Matrix, and Apprise. The same entry point exposes health and experimental message-send endpoints. The implementation is concentrated in index.js; excerpts show polling, filtering, several provider calls, and endpoint behavior, but omit some dispatcher and state-processing code, so those links are limited to what is documented or excerpted.
Main entry points: index.js Alert dispatch
Components 18
Container monitoring
- Container polling
index.js - Container selection
index.js - State change detection
index.js
Alert delivery
- Alert dispatch
index.js - Telegram
index.js - Pushbullet
index.js - Pushover
index.js - Discord
index.js - Ntfy
index.js - Slack
index.js - Gotify
index.js - Matrix
index.js - Apprise
index.js
HTTP endpoints
- HTTP API
index.js
Other components
- Operator
- Docker daemon
- Messaging services
- Health-check client
Connections 27
- Operator → Container polling: configures
README.md - Container polling → Docker daemon: lists containers
index.js - Container polling → Container selection: filters containers
README.md - Container selection → State change detection: selects monitored
README.md - Container polling → State change detection: detects changes
index.js - State change detection → Alert dispatch: sends alerts
index.js - HTTP API → Alert dispatch: accepts send requests
index.js - Operator → HTTP API: sends request
index.js - Health-check client → HTTP API: checks status
index.js - Alert dispatch → Telegram: dispatches to
README.md - Alert dispatch → Pushbullet: dispatches to
README.md - Alert dispatch → Pushover: dispatches to
README.md - Alert dispatch → Discord: dispatches to
README.md - Alert dispatch → Ntfy: dispatches to
README.md - Alert dispatch → Slack: dispatches to
README.md - Alert dispatch → Gotify: dispatches to
README.md - Alert dispatch → Matrix: dispatches to
README.md - Alert dispatch → Apprise: dispatches to
README.md - Telegram → Messaging services: sends alert
index.js - Pushbullet → Messaging services: sends alert
index.js - Pushover → Messaging services: sends alert
index.js - Discord → Messaging services: sends alert
index.js - Ntfy → Messaging services: publishes alert
index.js - Slack → Messaging services: posts alert
index.js - Gotify → Messaging services: sends alert
index.js - Matrix → Messaging services: sends alert
index.js - Apprise → Messaging services: posts alert
index.js