Discord

Coolify sends Discord notifications through an incoming webhook created for a Discord text channel.

Create a Discord webhook

Choose the destination

Open the Discord server that should receive Coolify notifications. Create a text channel, such as alerts, or select an existing one.

Note

You need permission to manage webhooks in that server.

Create the webhook

  1. In the channel list, hover over the channel and select its settings icon.

    Settings icon next to the alerts channel in the Discord channel list
  2. Select Integrations, then Create Webhook. If the channel already has a webhook, open Webhooks and select New Webhook.

    Integrations page of the channel settings with Integrations and the Create Webhook button numbered 1 and 2
  3. Select Copy Webhook URL.

    Copy Webhook URL button in the settings of a Discord webhook
Protect the webhook URL

Anyone with the URL can post to the Discord channel. Store it as a secret and replace the webhook if the URL is exposed.


Configure Coolify

  1. Select Notifications in the sidebar.

    Notifications in the Coolify sidebar
  2. Select Discord.

    Discord in the Notifications menu of the sidebar
  3. Paste the URL into Webhook URL and select Save changes.

  4. Select Enable.

    Discord settings with the Webhook URL field, the Save changes button, and the Enable button numbered 1 to 3
  5. Choose an option under Critical event mention. Mention @here adds @here to critical event notifications, so Discord notifies members who are online and can access the channel. Do not mention sends them without a mention.

    Critical event mention field set to Mention @here in the Discord notification settings
  6. Under Notification events, select the events to send to Discord.

    Notification events section of an enabled Discord channel, with selectors for deployments, resources, backups, scheduled tasks, and servers
  7. Select Send test.

    Send Test button next to Disable on an enabled Discord channel

Confirm that the test appears in the selected Discord channel before selecting additional events.

Coolify test notification titled Test Success in the alerts Discord channel

Troubleshoot Discord delivery

If the test does not appear:

  1. Return to Server Settings > Integrations > Webhooks and confirm that the webhook still exists.
  2. Confirm that it targets the channel you are checking. A webhook can be moved to another channel without changing the workflow in Coolify.
  3. Copy the URL again and replace the saved value in Coolify if the webhook was recreated or its token changed.
  4. Confirm that the destination channel still exists and that the webhook can post to it.
  5. Save the URL before selecting Enable, then send another test.

See Notification events for the trigger behind each event setting.

On this page