Skip to main content

Mattermost

The Mattermost trigger lets you send container update notifications to Mattermost channels using incoming webhooks.


⚙️ Configuration Variables

WUD_TRIGGER_MATTERMOST_{trigger_name}_URL
Requiredurl

Mattermost incoming webhook URL

Allowed values:Valid HTTP/HTTPS Mattermost incoming webhook URL
WUD_TRIGGER_MATTERMOST_{trigger_name}_CHANNEL
Optionalstring

Target channel name (e.g. town-square, @username) to override the webhook default

WUD_TRIGGER_MATTERMOST_{trigger_name}_DISABLETITLE
Optionalbooleandefault: false

Whether to omit the notification title in message bodies

WUD_TRIGGER_MATTERMOST_{trigger_name}_ICONURL
Optionalurl

Custom icon image URL for the bot

WUD_TRIGGER_MATTERMOST_{trigger_name}_USERNAME
Optionalstringdefault: WUD

Display username for the notification bot

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_MATTERMOST_DEV_URL=https://mattermost.example.com/hooks/abcdef123456789
- WUD_TRIGGER_MATTERMOST_DEV_CHANNEL=devops