ntfy.yml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. ---
  2. # ntfy configuration for emergency access server
  3. # This file configures the dschep/ntfy backends for notifications
  4. backends:
  5. - matrix_sec
  6. - matrix_health
  7. - pushover_emergency
  8. # Matrix backend for security alerts
  9. matrix_sec:
  10. backend: matrix
  11. url: https://your-matrix-server.com
  12. roomId: "!emergency-security:your-matrix-server.com"
  13. userId: "@emergency-bot:your-matrix-server.com"
  14. password: "your-matrix-bot-password"
  15. token: "your-matrix-access-token" # Alternative to password
  16. # Matrix backend for health monitoring and logs
  17. matrix_health:
  18. backend: matrix
  19. url: https://your-matrix-server.com
  20. roomId: "!emergency-health:your-matrix-server.com"
  21. userId: "@emergency-bot:your-matrix-server.com"
  22. password: "your-matrix-bot-password"
  23. token: "your-matrix-access-token" # Alternative to password
  24. # Pushover backend for emergency notifications
  25. pushover_emergency:
  26. backend: pushover
  27. user_key: YOUR_PUSHOVER_USER_KEY_HERE
  28. api_token: YOUR_PUSHOVER_API_TOKEN_HERE # optional, uses default if not specified
  29. priority: 2 # emergency priority (requires confirmation)
  30. retry: 60 # retry every 60 seconds for emergency notifications
  31. expire: 3600 # expire after 1 hour
  32. sound: siren # emergency sound
  33. device: YOUR_DEVICE_ID # optional, sends to all devices if omitted
  34. # Additional backend examples (uncomment and configure as needed)
  35. # Pushbullet backup
  36. # pushbullet_backup:
  37. # backend: pushbullet
  38. # access_token: YOUR_PUSHBULLET_ACCESS_TOKEN_HERE
  39. # device_iden: YOUR_DEVICE_ID # optional, sends to all devices if omitted
  40. # Slack integration
  41. # slack_critical:
  42. # backend: slack
  43. # token: YOUR_SLACK_BOT_TOKEN_HERE
  44. # recipient: "#emergency-alerts"
  45. # Email notifications
  46. # email_emergency:
  47. # backend: email
  48. # smtp_server: smtp.gmail.com
  49. # smtp_port: 587
  50. # username: your-email@gmail.com
  51. # password: your-app-password
  52. # to: emergency-team@company.com
  53. # from: emergency-access@company.com
  54. # Telegram notifications
  55. # telegram_emergency:
  56. # backend: telegram
  57. # # Configuration will be done interactively on first use
  58. # Linux desktop notifications (for testing)
  59. # linux_desktop:
  60. # backend: linux
  61. # icon: /usr/share/icons/gnome/48x48/status/dialog-warning.png
  62. # urgency: critical
  63. # timeout: 0 # never expire
  64. # System log integration
  65. # syslog_emergency:
  66. # backend: systemlog
  67. # prio: ALERT
  68. # facility: LOCAL0
  69. # fmt: "[EMERGENCY-ACCESS] {title}: {message}"
  70. # Custom title for all notifications
  71. title: "Emergency Access Server"