DrydockDrydock
ConfigurationTriggersDiscord

Discord

The discord trigger lets you send realtime notifications using Discord bots.

logo

The discord trigger lets you send realtime notifications using Discord bots.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_TRIGGER_DISCORD_{trigger_name}_URL🔴The Discord webhook URLHTTPS URL
DD_TRIGGER_DISCORD_{trigger_name}_BOTUSERNAMEThe bot usernamedrydock
DD_TRIGGER_DISCORD_{trigger_name}_CARDCOLORColor of the message cardColor in decimal base65280
DD_TRIGGER_DISCORD_{trigger_name}_CARDLABELOptional label to display in the messageString
This trigger also supports the common configuration variables.

Examples

Configuration

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
      - DD_TRIGGER_DISCORD_1_URL=https://discord.com/api/webhooks/123/456
      - DD_TRIGGER_DISCORD_1_BOTUSERNAME=drydock
docker run \
  -e DD_TRIGGER_DISCORD_1_URL="https://discord.com/api/webhooks/123/456" \
  -e DD_TRIGGER_DISCORD_1_BOTUSERNAME="drydock" \
  ...
  codeswhat/drydock

How to create a Discord webhook

Follow this tutorial

On this page