ConfigurationTriggers
Google Chat
The googlechat trigger posts container update notifications to a Google Chat space via an incoming webhook.
The googlechat trigger posts container update notifications to a Google Chat space via an incoming webhook.
Variables
| Env var | Required | Description | Supported values | Default value when missing |
|---|---|---|---|---|
DD_TRIGGER_GOOGLECHAT_{trigger_name}_URL | 🔴 | Incoming webhook URL | https URL | |
DD_TRIGGER_GOOGLECHAT_{trigger_name}_THREADKEY | ⚪ | Thread key for grouping messages into a thread | String | |
DD_TRIGGER_GOOGLECHAT_{trigger_name}_MESSAGEREPLYOPTION | ⚪ | Reply behavior when threadkey is set | REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD, REPLY_MESSAGE_OR_FAIL | |
DD_TRIGGER_GOOGLECHAT_{trigger_name}_DISABLETITLE | ⚪ | Disable title to keep full message-body control | true, false | false |
This trigger also supports the common configuration variables.
See the Google Chat incoming webhooks documentation for endpoint setup details.
Examples
services:
drydock:
image: codeswhat/drydock
...
environment:
- DD_TRIGGER_GOOGLECHAT_LOCAL_URL=https://chat.googleapis.com/v1/spaces/xxx/messages?key=abc&token=xyzdocker run \
-e DD_TRIGGER_GOOGLECHAT_LOCAL_URL="https://chat.googleapis.com/v1/spaces/xxx/messages?key=abc&token=xyz" \
...
codeswhat/drydock