Triggers
Triggers perform automated actions (such as sending notifications or executing updates) whenever a new container version is discovered.
Triggers are configured using environment variables following this naming pattern:
WUD_TRIGGER_{trigger_type}_{trigger_name}_{configuration_item}=value
You can configure multiple triggers of the same type (for example, multiple SMTP or Discord destinations). Simply assign each one a distinct {trigger_name} identifier (e.g. WUD_TRIGGER_DISCORD_DEV_URL, WUD_TRIGGER_DISCORD_PROD_URL).
📂 Trigger Categories​
WUD supports 17+ triggers organized into three functional categories:
- âš¡ Auto-Update & Orchestration: Automatically pull new images and recreate containers or trigger orchestrator restarts (Docker, Docker Compose, Nomad).
- 🔔 Notifications & Chat: Send rich alert messages with update details (Apprise, Discord, Gotify, IFTTT, Ntfy, Pushover, Rocket.Chat, Slack, SMTP Email, Telegram).
- 🛠Webhooks & Automation Pipelines: Integrate with custom automation flows, Home Assistant, and message brokers (Command, HTTP Webhooks, Kafka, MQTT).
Common Trigger Configuration​
In addition to provider-specific settings, all triggers support the following common configuration variables:
Whether to execute the trigger automatically (false requires manual execution via UI or API)
Template used to render the notification title in batch mode
Associate trigger with all containers by default (false makes it opt-in via wud.trigger.include)
Execution mode: trigger individually per container or batch all available updates into a single notification
Execute trigger only once per detected update (prevents duplicate alerts on consecutive runs)
Template used to render the notification body in simple mode
Template used to render the notification title in simple mode
Minimum semver version bump required to fire the trigger
Threshold Values​
all: Executes the trigger for all update types (including digests).major: Executes the trigger formajor,minor, orpatchsemver updates.major-only: Executes the trigger only formajorsemver updates.minor: Executes the trigger forminororpatchsemver updates.minor-only: Executes the trigger only forminorsemver updates.patch: Executes the trigger only forpatchsemver updates.
🚀 Examples​
Customizing Notification Content​
- Docker Compose
- Docker
services:
whatsupdocker:
image: getwud/wud
environment:
- WUD_TRIGGER_SMTP_GMAIL_SIMPLETITLE=Container $${container.name} can be updated
- WUD_TRIGGER_SMTP_GMAIL_SIMPLEBODY=Container $${container.name} can be updated from $${container.updateKind.localValue} to $${container.updateKind.remoteValue}
docker run \
-e 'WUD_TRIGGER_SMTP_GMAIL_SIMPLETITLE=Container ${container.name} can be updated' \
-e 'WUD_TRIGGER_SMTP_GMAIL_SIMPLEBODY=Container ${container.name} can be updated from ${container.updateKind.localValue} to ${container.updateKind.remoteValue}' \
getwud/wud