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 var | Required | Description | Supported values | Default value when missing |
|---|---|---|---|---|
DD_NOTIFICATION_BARK_{trigger_name}_URL | ⚪ | The Bark server url | The http or https Bark server address | https://api.day.app |
DD_NOTIFICATION_BARK_{trigger_name}_DEVICEKEY | 🔴 | The Bark device key of the target device | The key shown in the Bark app | |
DD_NOTIFICATION_BARK_{trigger_name}_BARKGROUP | ⚪ | The Bark notification group the messages are filed under | Any string | drydock |
DD_NOTIFICATION_BARK_{trigger_name}_ICON | ⚪ | Icon shown on the notification | An http or https image url | |
DD_NOTIFICATION_BARK_{trigger_name}_SOUND | ⚪ | Notification sound | A sound name known to the Bark app | |
DD_NOTIFICATION_BARK_{trigger_name}_BADGE | ⚪ | App icon badge number | Integer 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 unset | An http or https url | |
DD_NOTIFICATION_BARK_{trigger_name}_DISABLETITLE | ⚪ | Send the body only, without a title | true, false | false |
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-keyConfigure 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