Skip to content
ConfigurationTriggersNtfy

Ntfy

The ntfy trigger lets you send container update notifications via Ntfy.

logo

The ntfy trigger lets you send container update notifications via Ntfy.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_NOTIFICATION_NTFY_{trigger_name}_AUTH_PASSWORD⚪Password (if basic auth is enabled)
DD_NOTIFICATION_NTFY_{trigger_name}_AUTH_TOKEN⚪Bearer token (if bearer auth is enabled)
DD_NOTIFICATION_NTFY_{trigger_name}_AUTH_USER⚪User (if basic auth is enabled)
DD_NOTIFICATION_NTFY_{trigger_name}_PRIORITY⚪The Ntfy message priorityInteger between 0 and 5 see here
DD_NOTIFICATION_NTFY_{trigger_name}_TOPIC⚪The Ntfy topic name
DD_NOTIFICATION_NTFY_{trigger_name}_URL⚪The Ntfy server urlThe http or https ntfy server addresshttps://ntfy.sh
This trigger also supports the common configuration variables.

Examples

Configure the trigger to publish to the official public ntfy service

services:
  drydock:
    image: codeswhat/drydock:v1.5.2
    ...
    environment:
      - DD_NOTIFICATION_NTFY_THRESHOLD=minor
      - DD_NOTIFICATION_NTFY_SH_TOPIC=xxxxyyyyzzzz

Configure the trigger to publish to a private ntfy service with basic auth enabled

services:
  drydock:
    image: codeswhat/drydock:v1.5.2
    ...
    environment:
      - DD_NOTIFICATION_NTFY_PRIVATE_URL=http://ntfy.local
      - DD_NOTIFICATION_NTFY_PRIVATE_TOPIC=xxxxyyyyzzzz
      - DD_NOTIFICATION_NTFY_PRIVATE_AUTH_USER=john
      - DD_NOTIFICATION_NTFY_PRIVATE_AUTH_PASSWORD=doe