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
WUD_TRIGGER_DISCORD_{trigger_name}_AVATARURL
Optionalurl
Avatar image URL for the webhook bot
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
- Docker Compose
- Docker
services:
whatsupdocker:
image: getwud/wud
environment:
- WUD_TRIGGER_DISCORD_LOCAL_URL=https://discord.com/api/webhooks/123456789/abcdefghijklmnopqrstuvwxyz
- WUD_TRIGGER_DISCORD_LOCAL_BOTUSERNAME=WUD
docker run \
-e WUD_TRIGGER_DISCORD_LOCAL_URL="https://discord.com/api/webhooks/123456789/abcdefghijklmnopqrstuvwxyz" \
-e WUD_TRIGGER_DISCORD_LOCAL_BOTUSERNAME="WUD" \
getwud/wud
📖 Setup Guide: Creating a Discord Webhook
- Open your Discord server and navigate to Server Settings > Integrations > Webhooks.
- Click New Webhook and select the channel where update notifications should be posted.
- Copy the Webhook URL and configure it as
WUD_TRIGGER_DISCORD_{trigger_name}_URL. - For additional details, see the official Discord webhook guide.