Skip to content
Drydock
ConfigurationActions & NotificationsBark

Bark

The bark trigger lets you send container update notifications to iOS via Bark.

Pre-release docs

These docs cover v1.9, a release candidate that isn't generally available yet. Running the stable release? Read the docs for v1.7.

The bark trigger lets you send container update notifications to your iPhone via Bark. It posts to the Bark server /push endpoint, so it works with the public https://api.day.app server or one you host yourself.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_NOTIFICATION_BARK_{trigger_name}_URL⚪The Bark server urlThe http or https Bark server addresshttps://api.day.app
DD_NOTIFICATION_BARK_{trigger_name}_DEVICEKEY🔴The Bark device key of the target deviceThe key shown in the Bark app
DD_NOTIFICATION_BARK_{trigger_name}_BARKGROUP⚪The Bark notification group the messages are filed underAny stringdrydock
DD_NOTIFICATION_BARK_{trigger_name}_ICON⚪Icon shown on the notificationAn http or https image url
DD_NOTIFICATION_BARK_{trigger_name}_SOUND⚪Notification soundA sound name known to the Bark app
DD_NOTIFICATION_BARK_{trigger_name}_BADGE⚪App icon badge numberInteger greater or equal than 0
DD_NOTIFICATION_BARK_{trigger_name}_URLTOOPEN⚪Url opened when the notification is tapped. Falls back to the update link of the container when unsetAn http or https url
DD_NOTIFICATION_BARK_{trigger_name}_DISABLETITLE⚪Send the body only, without a titletrue, falsefalse
This trigger also supports the common configuration variables.
The group is configured with BARKGROUP because GROUP is already the common notification-group option.

Examples

Configure the trigger for the public Bark server

services:
  drydock:
    image: codeswhat/drydock:1.9.0-rc.6
    ...
    environment:
      - DD_NOTIFICATION_BARK_PHONE_DEVICEKEY=your-bark-device-key

Configure the trigger for a self-hosted Bark server

services:
  drydock:
    image: codeswhat/drydock:1.9.0-rc.6
    ...
    environment:
      - DD_NOTIFICATION_BARK_HOME_URL=https://bark.example.com
      - DD_NOTIFICATION_BARK_HOME_DEVICEKEY=your-bark-device-key
      - DD_NOTIFICATION_BARK_HOME_BARKGROUP=updates