Skip to main content

Overview

Dockhand’s notification system sends real-time alerts for container events, auto-updates, Git syncs, and system activities. Configure multiple notification channels with flexible event filtering and environment-specific routing.

Notification Types

Dockhand supports two primary notification methods:

SMTP Email

Send notifications via email using any SMTP server:

Apprise

Support for 80+ notification services via Apprise:
Supported services include:
  • Slack
  • Discord
  • Microsoft Teams
  • Telegram
  • PagerDuty
  • Pushover
  • Ntfy
  • Gotify
  • And 70+ more

Configuration

Creating a Notification Setting

SMTP Example

Apprise Example (Slack)

Apprise Example (Multiple Services)

Event Types

Container Events

Auto-Update Events

Git Sync Events

System Events

Environment-Specific Notifications

Global Notifications

Apply to all environments:

Per-Environment Configuration

Override global settings for specific environments:

Database Schema

Sending Notifications

Programmatic Notifications

From within Dockhand code:

Container Update Notifications

Testing Notifications

Test Individual Setting

Sends a test notification:

Test All Notifications

Tests all enabled notification settings and returns results:

Trigger Test Event

SMTP Configuration Examples

Gmail

Note: Gmail requires an App Password instead of your regular password.

Office 365

SendGrid

Mailgun

Apprise URL Formats

Slack

Discord

Microsoft Teams

Telegram

PagerDuty

Pushover

Ntfy

Gotify

Matrix

Webhook

For a complete list of supported services and URL formats, see the Apprise documentation.

Notification Message Format

Message Structure

Example Messages

Container Update Success

Git Sync Failure

Event Filtering

Filter by Event Type

Only receive specific events:

Filter by Severity

Group events by severity:

Filter by Environment

Different notifications for different environments:

Best Practices

Alert Fatigue Prevention

  1. Filter by severity: Only send critical alerts to PagerDuty
  2. Group similar events: Batch notifications instead of sending each event
  3. Use appropriate channels: Slack for info, PagerDuty for critical
  4. Configure quiet hours: Reduce non-critical alerts during off-hours

Security

  1. Protect credentials: SMTP passwords are encrypted in the database
  2. Use app passwords: For services like Gmail
  3. Rotate tokens: Regularly update webhook URLs and API keys
  4. Limit recipients: Only send to authorized personnel
  5. Test regularly: Ensure notifications are working

Reliability

  1. Configure multiple channels: Backup notification methods
  2. Test on setup: Always test new notification settings
  3. Monitor delivery: Check for failed notification attempts
  4. Set timeouts: Prevent hanging on unresponsive services

Message Quality

Troubleshooting

SMTP Issues

Authentication Failed

Connection Timeout

TLS Errors

Apprise Issues

Invalid URL Format

Webhook Not Found

Debugging

Enable notification debugging:

API Reference