DrydockDrydock
ConfigurationTriggersMattermost

Mattermost

The mattermost trigger posts container update notifications to a Mattermost incoming webhook.

The mattermost trigger posts container update notifications to a Mattermost incoming webhook.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_TRIGGER_MATTERMOST_{trigger_name}_URL🔴Incoming webhook URLhttp, https URL
DD_TRIGGER_MATTERMOST_{trigger_name}_CHANNELTarget channel overrideChannel name (for example town-square)
DD_TRIGGER_MATTERMOST_{trigger_name}_USERNAMEUsername shown in messageStringdrydock
DD_TRIGGER_MATTERMOST_{trigger_name}_ICONEMOJIEmoji icon shown for senderEmoji string (for example :whale:)
DD_TRIGGER_MATTERMOST_{trigger_name}_ICONURLAvatar icon URL shown for senderhttp, https URL
DD_TRIGGER_MATTERMOST_{trigger_name}_DISABLETITLEDisable title to keep full message-body controltrue, falsefalse
This trigger also supports the common configuration variables.
See the Mattermost incoming webhooks documentation for endpoint setup details.

Examples

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
      - DD_TRIGGER_MATTERMOST_LOCAL_URL=https://mattermost.example.com/hooks/abc123
      - DD_TRIGGER_MATTERMOST_LOCAL_CHANNEL=town-square
      - DD_TRIGGER_MATTERMOST_LOCAL_USERNAME=drydock
docker run \
  -e DD_TRIGGER_MATTERMOST_LOCAL_URL="https://mattermost.example.com/hooks/abc123" \
  -e DD_TRIGGER_MATTERMOST_LOCAL_CHANNEL="town-square" \
  -e DD_TRIGGER_MATTERMOST_LOCAL_USERNAME="drydock" \
  ...
  codeswhat/drydock

On this page