Notifications
DockDash uses the Apprise REST API to deliver notifications to Slack, Discord, Telegram, email, and many other services.
Notifications can be emitted when:
- A service goes down or recovers
- A container image update becomes available
- CPU or memory remains above a configured threshold
- A resource spike clears
Configure the endpoint
Section titled “Configure the endpoint”| Variable | Default | Description |
|---|---|---|
APPRISE_URL |
unset | Apprise REST notification endpoint |
APPRISE_TAGS |
unset | Comma-separated Apprise routing tags |
APPRISE_URLS |
unset | Comma-separated inline Apprise notification URLs |
Set the complete Apprise notify endpoint:
APPRISE_URL=http://apprise:8000/notify/appriseIn Apprise’s stateful mode, the final path segment is the configuration key.
Use tags to select matching endpoints from the Apprise configuration:
APPRISE_TAGS=admin,homelabAdditional inline targets can be supplied with APPRISE_URLS:
APPRISE_URLS=discord://webhook_id/webhook_tokenAll three settings can be combined.
Resource thresholds
Section titled “Resource thresholds”| Variable | Default | Description |
|---|---|---|
CPU_SPIKE_THRESHOLD |
90 |
CPU percentage that triggers an alert; 0 disables it |
MEMORY_SPIKE_THRESHOLD |
90 |
Memory percentage that triggers an alert; 0 disables it |
SPIKE_DURATION_THRESHOLD |
300 |
Seconds a spike must persist before alerting; 0 alerts immediately |
Set percentage thresholds and the duration they must persist:
CPU_SPIKE_THRESHOLD=90MEMORY_SPIKE_THRESHOLD=90SPIKE_DURATION_THRESHOLD=300A threshold of 0 disables that resource alert. A duration of 0 alerts immediately.
After saving the settings, use Send Test in DockDash to verify the complete delivery path.