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.
You need permission to manage webhooks in that server.
Create the webhook
-
In the channel list, hover over the channel and select its settings icon.
-
Select Integrations, then Create Webhook. If the channel already has a webhook, open Webhooks and select New Webhook.
-
Select Copy 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
-
Select Notifications in the sidebar.
-
Select Discord.
-
Paste the URL into Webhook URL and select Save changes.
-
Select Enable.
-
Choose an option under Critical event mention. Mention @here adds
@hereto critical event notifications, so Discord notifies members who are online and can access the channel. Do not mention sends them without a mention.
-
Under Notification events, select the events to send to Discord.
-
Select Send test.
Confirm that the test appears in the selected Discord channel before selecting additional events.
Troubleshoot Discord delivery
If the test does not appear:
- Return to Server Settings > Integrations > Webhooks and confirm that the webhook still exists.
- Confirm that it targets the channel you are checking. A webhook can be moved to another channel without changing the workflow in Coolify.
- Copy the URL again and replace the saved value in Coolify if the webhook was recreated or its token changed.
- Confirm that the destination channel still exists and that the webhook can post to it.
- Save the URL before selecting Enable, then send another test.
See Notification events for the trigger behind each event setting.
