S.M.A.R.T mail alerts with Docker
Tested on Raspberry Pi 3, 4
docker run --privileged -e [email protected] -e [email protected] -e SMTP_HOSTNAME=smartd -e SMTP_MAIL_HUB=smtp.gmail.com:587 -e [email protected] -e SMTP_AUTH_PASS=xxxxxxxx rugarci/smartd
For Docker compose
smartd:
image: rugarci/smartd
environment:
- [email protected]
- [email protected]
- SMTP_HOSTNAME=smartd
- SMTP_MAIL_HUB=smtp.gmail.com:587
- [email protected]
- SMTP_AUTH_PASS=xxxxxxxx
- SMARTD_OPTIONS=-d scsi -n standby,15
privileged: true