mirror of
https://github.com/Kizuren/statusPage.git
synced 2026-01-01 20:14:17 +01:00
Added connections to various messaging tools: slack, discord, twilio-sms, sendgrid-email
This commit is contained in:
parent
41524cf7c7
commit
6f939a0e47
2 changed files with 110 additions and 17 deletions
20
config.js
20
config.js
|
|
@ -7,8 +7,24 @@ export default {
|
|||
readableStatusJson : true, // Format status.json to be human readable
|
||||
logsMaxDatapoints : 200, // Maximum datapoints history to keep (per endpoint)
|
||||
telegram : {
|
||||
botToken : '', // Contact @BotFather on telegram to create a bot
|
||||
chatId : '',// Send a message to the bot, then visit https://api.telegram.org/bot<token>/getUpdates to get the chatId
|
||||
},
|
||||
slack : {
|
||||
botToken : '',
|
||||
channelId : '',
|
||||
},
|
||||
discord : {
|
||||
webhookUrl : '',
|
||||
},
|
||||
twilio : {
|
||||
accountSid : '',
|
||||
accountToken : '',
|
||||
toNumber : '',
|
||||
twilioNumber : '',
|
||||
},
|
||||
sendgrid : {
|
||||
apiKey : '',
|
||||
toEmail : '',
|
||||
toFromEmail : '',
|
||||
},
|
||||
sites : [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue