Supported Notification Services
Dokploy integrates with the following notification providers:- Slack: Send messages to Slack channels
- Discord: Post notifications to Discord channels via webhooks
- Telegram: Send messages via Telegram bot
- Email (SMTP): Send emails using custom SMTP server
- Resend: Send emails using Resend API
- Gotify: Push notifications to self-hosted Gotify server
- Ntfy: Publish notifications to ntfy.sh or self-hosted instance
- Lark: Send messages to Lark (Feishu) chat groups
- Microsoft Teams: Post adaptive cards to Teams channels
- Pushover: Send push notifications to mobile devices
- Custom Webhook: POST notifications to custom HTTP endpoints
Notification Setup
Accessing Notifications
- Navigate to Settings > Notifications
- Click Add Notification
- Select your notification provider
- Configure provider-specific settings
- Test the connection
- Save the notification
Slack Configuration
Send notifications to Slack channels using webhook URLs.Setup Steps
- Create a Slack App in your workspace
- Enable Incoming Webhooks
- Copy the webhook URL
- Configure in Dokploy
Configuration Options
Example Notification
When a threshold is exceeded:Testing Connection
Discord Configuration
Post notifications to Discord channels using webhook URLs.Setup Steps
- Open Discord channel settings
- Navigate to Integrations > Webhooks
- Create new webhook
- Copy webhook URL
- Configure in Dokploy
Configuration Options
Example Notification
Discord notifications appear as embedded messages:Testing Connection
Telegram Configuration
Send notifications via Telegram bot.Setup Steps
- Create a bot using @BotFather
- Get bot token from BotFather
- Get your chat ID (use @userinfobot)
- Configure in Dokploy
Configuration Options
Example Notification
Testing Connection
Email (SMTP) Configuration
Send notifications via custom SMTP server.Configuration Options
Common SMTP Servers
Testing Connection
Resend Configuration
Send emails using the Resend API (recommended for transactional emails).Setup Steps
- Sign up at resend.com
- Create an API key
- Verify your domain
- Configure in Dokploy
Configuration Options
Testing Connection
Gotify Configuration
Send push notifications to self-hosted Gotify server.Configuration Options
Ntfy Configuration
Publish notifications to ntfy.sh or self-hosted instance.Configuration Options
Testing Connection
Lark (Feishu) Configuration
Send messages to Lark chat groups.Configuration Options
Microsoft Teams Configuration
Post notifications to Teams channels.Configuration Options
Pushover Configuration
Send push notifications to mobile devices.Configuration Options
Custom Webhook Configuration
Send notifications to custom HTTP endpoints.Configuration Options
Webhook Payload
Dokploy sends notifications in this format:Notification Events
Dokploy sends notifications for the following events:Monitoring Alerts
Triggered when metrics exceed configured thresholds:- CPU Threshold Exceeded: When CPU usage goes above the configured limit
- Memory Threshold Exceeded: When memory usage goes above the configured limit
Setting Up Threshold Notifications
- Configure monitoring thresholds in Settings > Monitoring:
- Set callback URL to Dokploy’s notification endpoint:
- Configure notification providers to receive the alerts
Setting a threshold to 0 disables notifications for that metric.
Managing Notifications
List All Notifications
View all configured notifications:Update Notification
Modify existing notification configuration:Delete Notification
Remove a notification:Best Practices
- Test Connections: Always test notifications after configuration to ensure they work
- Use Descriptive Names: Give notifications clear names to identify their purpose
- Separate Channels: Use different channels for different alert types (e.g., #deployments, #critical-alerts)
- Set Appropriate Thresholds: Configure thresholds that match your normal operating ranges
- Avoid Alert Fatigue: Don’t set thresholds too low or you’ll receive too many notifications
- Secure Credentials: Store notification credentials securely and rotate them regularly
- Monitor Notification Delivery: Verify that critical alerts are being received
- Use Multiple Channels: Configure redundant notification channels for critical alerts
Troubleshooting
Notifications Not Sending
- Verify configuration: Check webhook URLs, tokens, and credentials
- Test connection: Use the test button to verify the provider is reachable
- Check permissions: Ensure bot/app has permission to post in target channel
- Verify thresholds: Make sure monitoring thresholds are properly configured
- Check callback URL: Ensure the urlCallback points to the correct endpoint
Slack Issues
- Invalid webhook: Generate a new webhook URL in Slack settings
- Channel not found: Verify the channel name includes the # symbol
- Permission denied: Add the Slack app to the target channel
Discord Issues
- Webhook expired: Create a new webhook in Discord channel settings
- Rate limited: Discord limits webhook calls; reduce notification frequency
Telegram Issues
- Invalid bot token: Verify token from @BotFather
- Wrong chat ID: Use @userinfobot to get correct chat ID
- Bot not in group: Add the bot to the group/channel first
Email Issues
- Authentication failed: Check username/password or use app-specific password
- Connection timeout: Verify SMTP server and port are correct
- TLS errors: Try different ports (587 for STARTTLS, 465 for SSL)
Example Notification Flow
- Monitoring service detects CPU usage at 85%
- Threshold check compares against configured limit (80%)
- Notification triggered with alert details
- Callback URL receives POST request with alert payload
- Dokploy routes notification to configured providers
- Messages sent to Slack, Discord, Telegram, etc.
- Team receives alerts and can respond to the issue
Next Steps
- Configure Real-Time Metrics to enable threshold alerts
- View Monitoring Overview for complete observability setup
- Check Application Logs for detailed troubleshooting