DrydockDrydock
ConfigurationTriggers

Matrix

The matrix trigger posts container update notifications to a Matrix room using the client-server API.

The matrix trigger posts container update notifications to a Matrix room using the client-server API.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_TRIGGER_MATRIX_{trigger_name}_URL🔴Matrix homeserver URLhttp, https URL
DD_TRIGGER_MATRIX_{trigger_name}_ROOMID🔴Target room IDRoom ID (for example !abc123:matrix.org)
DD_TRIGGER_MATRIX_{trigger_name}_ACCESSTOKEN🔴Access token for authenticationString
DD_TRIGGER_MATRIX_{trigger_name}_MSGTYPEMessage typem.notice, m.textm.notice
DD_TRIGGER_MATRIX_{trigger_name}_DISABLETITLEDisable title to keep full message-body controltrue, falsefalse
This trigger also supports the common configuration variables.
See the Matrix client-server API documentation for details on sending events.

Examples

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
      - DD_TRIGGER_MATRIX_LOCAL_URL=https://matrix.example.com
      - DD_TRIGGER_MATRIX_LOCAL_ROOMID=!abc123:matrix.example.com
      - DD_TRIGGER_MATRIX_LOCAL_ACCESSTOKEN=syt_xxx
docker run \
  -e DD_TRIGGER_MATRIX_LOCAL_URL="https://matrix.example.com" \
  -e DD_TRIGGER_MATRIX_LOCAL_ROOMID="!abc123:matrix.example.com" \
  -e DD_TRIGGER_MATRIX_LOCAL_ACCESSTOKEN="syt_xxx" \
  ...
  codeswhat/drydock

On this page