Files
Enigma-Synology-Monitor/.env.example

44 lines
1.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ──────────────────────────────────────────────
# Synology Monitor Environment Configuration
# ──────────────────────────────────────────────
# ── Synology DSM ──────────────────────────────
SYNOLOGY_URL=https://enigma.seekright.ai
SYNOLOGY_USERNAME=admin
SYNOLOGY_PASSWORD=your_password_here
# DSM API port (default 5001 for HTTPS, 5000 for HTTP)
SYNOLOGY_PORT=443
# ── Image URLs to monitor (comma-separated) ───
IMAGE_URLS=https://images.seekright.ai/MOTL/ANOMALY/Qassim/504/Informative_Signs/504_283_225_1049105.868_33_6956.jpeg
# ── RocketChat Webhook ────────────────────────
ROCKETCHAT_WEBHOOK_URL=https://your-rocketchat.example.com/hooks/XXXX/YYYY
# Optional: override the bot display name
ROCKETCHAT_BOT_NAME=MonitorBot
# Optional: override the bot avatar emoji
ROCKETCHAT_BOT_EMOJI=:robot:
# RocketChat channel to post to (e.g. #monitoring or @username)
ROCKETCHAT_CHANNEL=#monitoring
# ── Email (Gmail + App Password) ─────────────
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=your_gmail@gmail.com
SMTP_PASSWORD=your_app_password_here
EMAIL_FROM=your_gmail@gmail.com
EMAIL_TO=recipient@example.com
# Optional: additional CC addresses (comma-separated)
EMAIL_CC=
# ── Check Schedule ────────────────────────────
# Interval in hours between checks
CHECK_INTERVAL_HOURS=3
# ── Request timeouts ─────────────────────────
REQUEST_TIMEOUT_SECONDS=15
# ── Logging ───────────────────────────────────
LOG_LEVEL=INFO
LOG_FILE=monitor.log