🔒 Sécurisation via .env + refactorisation Monitor et MQTT

This commit is contained in:
2025-04-22 10:48:58 +02:00
parent 4991b6354c
commit 4dd230f77b
6 changed files with 80 additions and 50 deletions

15
.env
View File

@@ -1,3 +1,16 @@
DB_HOST=54.36.188.119
DB_USER=michel
DB_PASSWORD=#SO2&1nf%mZ@jfh
DB_PASSWORD=#SO2&1nf%mZ@jfh
DB_NAME=Sondes
MQTT_HOST=54.36.188.119
MQTT_USER=Bwps
MQTT_PASSWORD=scJ5ACj2keRfI^
# === EMAIL SMTP ===
SMTP_HOST=smtp.mail.ovh.net
SMTP_PORT=465
SMTP_USER=alertes_saclay@domo91.fr
SMTP_PASSWORD=Kdpke674y23Feq^H
EMAIL_FROM=alertes_saclay@domo91.fr
EMAIL_DEST=services@domo91.fr