DrydockDrydock
ConfigurationTriggersPushover

Pushover

The pushover trigger lets you send realtime notifications to your devices (Android, iPhone...) using the Pushover Service.

logo

The pushover trigger lets you send realtime notifications to your devices (Android, iPhone...) using the Pushover Service.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_TRIGGER_PUSHOVER_{trigger_name}_DEVICEOptional device(s) to notifyComa separated list of devices (e.g. dev1,dev2) (see here)
DD_TRIGGER_PUSHOVER_{trigger_name}_EXPIREOptional notification expire in seconds (only when priority=2)see here
DD_TRIGGER_PUSHOVER_{trigger_name}_HTMLAllow HTML formatting in message body (supported in Pushover 2.3+)see here0
DD_TRIGGER_PUSHOVER_{trigger_name}_PRIORITYThe notification prioritysee here0
DD_TRIGGER_PUSHOVER_{trigger_name}_RETRYOptional notification retry in seconds (only when priority=2)see here
DD_TRIGGER_PUSHOVER_{trigger_name}_SOUNDThe notification soundsee herepushover
DD_TRIGGER_PUSHOVER_{trigger_name}_TOKEN🔴The API token
DD_TRIGGER_PUSHOVER_{trigger_name}_TTLOptional message time to live (in seconds)see here
DD_TRIGGER_PUSHOVER_{trigger_name}_USER🔴The User key
This trigger also supports the common configuration variables.

Examples

Configuration

Minimal

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
      - DD_TRIGGER_PUSHOVER_1_TOKEN=*****************************
      - DD_TRIGGER_PUSHOVER_1_USER=******************************
docker run \
  -e DD_TRIGGER_PUSHOVER_1_TOKEN="*****************************" \
  -e DD_TRIGGER_PUSHOVER_1_USER="******************************" \
  ...
  codeswhat/drydock

Full

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
        - DD_TRIGGER_PUSHOVER_1_TOKEN=*****************************
        - DD_TRIGGER_PUSHOVER_1_USER=******************************
        - DD_TRIGGER_PUSHOVER_1_DEVICE=myIphone,mySamsung
        - DD_TRIGGER_PUSHOVER_1_SOUND=cosmic
        - DD_TRIGGER_PUSHOVER_1_PRIORITY=2
        - DD_TRIGGER_PUSHOVER_1_EXPIRE=600
        - DD_TRIGGER_PUSHOVER_1_RETRY=60
docker run \
    -e DD_TRIGGER_PUSHOVER_1_TOKEN="*****************************" \
    -e DD_TRIGGER_PUSHOVER_1_USER="******************************" \
    -e DD_TRIGGER_PUSHOVER_1_DEVICE="myIphone,mySamsung" \
    -e DD_TRIGGER_PUSHOVER_1_SOUND="cosmic" \
    -e DD_TRIGGER_PUSHOVER_1_PRIORITY="2" \
    -e DD_TRIGGER_PUSHOVER_1_EXPIRE="600" \
    -e DD_TRIGGER_PUSHOVER_1_RETRY="60" \
  ...
  codeswhat/drydock

How to get the User key

Open Pushover Settings

The key is printed under the section Reset User Key.

How to get an API token

Register a new application

Register a Pushover Application

image

Copy the API token

image

On this page