Mise à jour Monitor.py avec rappels d'alertes + chargement destinataires depuis .env

This commit is contained in:
2025-04-26 11:00:34 +02:00
parent 62fb59d139
commit 62f9f0aad5
2 changed files with 10 additions and 16 deletions

View File

@@ -18,8 +18,8 @@ config = {
"database": os.getenv("DB_NAME")
}
# --- Destinataires email ---
destinataires = ['services@domo91.fr', 'michel-68000@hotmail.fr']
# Charger les destinataires depuis .env
destinataires = os.getenv("DESTINATAIRES_MAIL", "").split(',')
# --- Suivi des alertes actives pour rappels ---
alertes_actives = {}