mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:01:09 +02:00
- Update health-check.sh with Telegram, Email, and ntfy notification functions - Add notifications.env.example template for configuration - Add setup-notifications.sh interactive setup script Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# ManaCore Notification Configuration
|
|
# Copy this file to the project root as .env.notifications
|
|
# cp scripts/mac-mini/notifications.env.example .env.notifications
|
|
|
|
# ============================================
|
|
# Telegram Bot
|
|
# ============================================
|
|
# 1. Message @BotFather on Telegram
|
|
# 2. Send /newbot and follow instructions
|
|
# 3. Copy the bot token here
|
|
TELEGRAM_BOT_TOKEN=
|
|
|
|
# To get your Chat ID:
|
|
# 1. Message your bot
|
|
# 2. Visit: https://api.telegram.org/bot<TOKEN>/getUpdates
|
|
# 3. Find "chat":{"id": YOUR_CHAT_ID}
|
|
TELEGRAM_CHAT_ID=
|
|
|
|
# ============================================
|
|
# Email (via msmtp)
|
|
# ============================================
|
|
# Email address to send alerts to
|
|
EMAIL_TO=
|
|
|
|
# From address (optional)
|
|
EMAIL_FROM=manacore@mana.how
|
|
|
|
# Note: For email to work, install and configure msmtp on Mac Mini:
|
|
# brew install msmtp
|
|
# Create ~/.msmtprc with your SMTP settings (see below)
|
|
|
|
# ============================================
|
|
# ntfy.sh (optional, simple push notifications)
|
|
# ============================================
|
|
# Create a topic at ntfy.sh and subscribe in the app
|
|
NTFY_TOPIC=
|