Skip to content

Notifications

Receive alerts about service health, certificate renewals, and configuration errors.

Overview

GoDoxy sends notifications to configured providers when significant events occur. Configure one or more providers to receive alerts.

Notification Events

EventDescription
Service HealthRoute health status changes
Certificate RenewalSuccess or failure of TLS certificate renewal
ConfigurationErrors during config file reload

Configuration Methods

MethodDescription
WebUIConfigure via WebUI config editor
config.ymlEdit config/config.yml directly

Providers

Gotify

A simple self-hosted notification service.

yaml
notification:
  - name: gotify
    provider: gotify
    url: https://gotify.my.site
    token: abcdef.12345
FieldDescriptionRequired
nameProvider identifierYes
providerProvider typeYes (gotify)
urlGotify server addressYes
tokenAuthentication tokenYes

Ntfy

A flexible notification service with topic-based messaging.

yaml
notification:
  - name: ntfy
    provider: ntfy
    url: https://ntfy.domain.com
    topic: some-topic
    # token: xxx  # Optional: if access tokens are configured
FieldDescriptionRequired
nameProvider identifierYes
providerProvider typeYes (ntfy)
urlNtfy server address (without topic)Yes
topicTarget topic for messagesYes
tokenAccess token (if required)No

Discord Webhook

Send notifications to a Discord channel.

yaml
notification:
  - name: discord
    provider: webhook
    url: https://discord.com/api/webhooks/...
    template: discord
FieldDescriptionRequired
nameProvider identifierYes
providerProvider typeYes (webhook)
urlDiscord webhook URLYes
templateMessage templateNo (discord for Discord format)

Custom Webhooks

Integrate with Slack, Matrix, or any service supporting webhooks.

yaml
notification:
  - name: slack
    provider: webhook
    url: https://hooks.slack.com/services/...
    payload: |
      {
        "text": "$message",
        "username": "GoDoxy"
      }
    mime_type: application/json
FieldDescriptionRequired
nameProvider identifierYes
providerProvider typeYes (webhook)
urlWebhook URLYes
payloadJSON body templateSee note
methodHTTP methodNo (POST)
mime_typeContent typeNo
tokenBearer token (if required)No
color_modeColor formatNo (hex)

NOTE

payload is required unless using a template like discord.

Property Reference

Common Fields

FieldDescriptionDefaultValues
nameProvider identifierRequiredstring
providerProvider typeRequiredgotify, ntfy, webhook
urlServer/webhook URLRequiredfull URL
formatMessage formatmarkdownmarkdown, plain

Webhook Fields

FieldDescriptionDefaultValues
templatePredefined templatenonediscord
payloadCustom JSON payloadnoneJSON string
methodHTTP request methodPOSTGET, POST, PUT
mime_typeContent-Type headerautoMIME type
tokenBearer authenticationnonestring
color_modeColor value formathexhex, dec

Payload Variables

Use these variables in custom webhook payloads:

VariableDescriptionFormat
$titleMessage titleJSON-escaped string
$messageMessage body (Markdown)JSON-escaped string
$fieldsStructured message dataJSON object
$colorMessage colorhex (#ff0000) or decimal

Example: Discord Embed

json
{
    "embeds": [
        {
            "title": $title,
            "fields": $fields,
            "color": "$color"
        }
    ]
}

Released under the MIT License.