本文共 1154 字,大约阅读时间需要 3 分钟。
To send email alerts, you must make BATCH_ENABLE=true and change the other mail-related environment variables (MAIL_HOST, MAIL_PORT, MAIL_USERNAME, MAIL_PASSWORD, MAIL_PROPERTIES_MAIL_SMTP_FROM, …) to the Pinpoint-Web server in .env file.
激活BATCH
[root@VM_8_77_centos pinpoint-docker]# grep BATCH_ENABLE .envBATCH_ENABLE=true
按照实际情况填写
[root@VM_8_77_centos pinpoint-docker]# grep MAIL .envMAIL_HOST=stmp.test.comMAIL_PORT=25MAIL_USERNAME=userMAIL_PASSWORD=passMAIL_PROPERTIES_MAIL_TRANSPORT_PROTOCOL=smtpMAIL_PROPERTIES_MAIL_SMTP_AUTH=trueMAIL_PROPERTIES_MAIL_SMTP_PORT=25MAIL_PROPERTIES_MAIL_SMTP_FROM=test@example.comMAIL_PROPERTIES_MAIL_STARTTLS_ENABLE=falseMAIL_PROPERTIES_MAIL_STARTTLS_REQUIRED=falseMAIL_PROPERTIES_MAIL_DEBUG=false
[root@VM_8_77_centos pinpoint-docker]# docker-compose kill pinpoint-web[root@VM_8_77_centos pinpoint-docker]# docker-compose rm pinpoint-web[root@VM_8_77_centos pinpoint-docker]# docker-compose up -d
https://github.com/naver/pinpoint/blob/master/doc/alarm.md
转载于:https://blog.51cto.com/jerrymin/2384160