Skip to main content

Discord

The discord trigger lets you send real-time container update notifications to Discord channels using incoming webhooks.


⚙️ Configuration Variables

WUD_TRIGGER_DISCORD_{trigger_name}_URL
Requiredurl

Discord incoming webhook URL

Allowed values:Valid HTTPS Discord webhook URL
WUD_TRIGGER_DISCORD_{trigger_name}_AVATARURL
Optionalurl

Avatar image URL for the webhook bot

Allowed values:Valid HTTPS URL
WUD_TRIGGER_DISCORD_{trigger_name}_BOTUSERNAME
Optionalstringdefault: WUD

Bot username displayed in the Discord channel

WUD_TRIGGER_DISCORD_{trigger_name}_CARDCOLOR
Optionalintegerdefault: 65280

Embed card border color in decimal format (e.g. 65280 is green)

WUD_TRIGGER_DISCORD_{trigger_name}_CARDLABEL
Optionalstring

Optional label or environment tag to include in the embed message

info

This trigger also supports all common trigger configuration options (such as thresholds, scheduling, and batching).


🚀 Examples

Basic Webhook Notification

services:
whatsupdocker:
image: getwud/wud
environment:
- WUD_TRIGGER_DISCORD_LOCAL_URL=https://discord.com/api/webhooks/123456789/abcdefghijklmnopqrstuvwxyz
- WUD_TRIGGER_DISCORD_LOCAL_BOTUSERNAME=WUD

📖 Setup Guide: Creating a Discord Webhook

  1. Open your Discord server and navigate to Server Settings > Integrations > Webhooks.
  2. Click New Webhook and select the channel where update notifications should be posted.
  3. Copy the Webhook URL and configure it as WUD_TRIGGER_DISCORD_{trigger_name}_URL.
  4. For additional details, see the official Discord webhook guide.