What is wrong at docker-compose Email settings?

Hi Everyone,

I want to enable email notification on docker-compose file. My configuration lines at the following lines. What is wrong? It gives an error like “The configuration for the email transport subsystem has shown to be missing or invalid. Please check the related section of your Graylog server configuration file. This is the detailed error message: Email transport is not enabled in server configuration file!”

graylog:
image: graylog/graylog:2.5
environment:
- GRAYLOG_PASSWORD_SECRET=------
- GRAYLOG_WEB_ENDPOINT_URI=http://10.240.1.152:9000/api
- GRAYLOG_HTTP_EXTERNAL_URI=http://10.240.1.152:9000/
- GRAYLOG_TRANSPORT_EMAIL_ENABLED=true
- GRAYLOG_TRANSPORT_EMAIL_WEB_INTERFACE_URL=http://10.240.1.152:9000
- GRAYLOG_TRANSPORT_EMAIL_HOSTNAME=SMTP.yandex.com
- GRAYLOG_TRANSPORT_EMAIL_PORT=465
- GRAYLOG_TRANSPORT_EMAIL_USE_AUTH=true
- GRAYLOG_TRANSPORT_EMAIL_AUTH_USERNAME=alert@------.com
- GRAYLOG_TRANSPORT_EMAIL_AUTH_PASSWORD=------
- GRAYLOG_TRANSPORT_EMAIL_USE_TLS=false
- GRAYLOG_TRANSPORT_EMAIL_USE_SSL=true
- GRAYLOG_TRANSPORT_EMAIL_FROM_EMAIL=alert@------.com
- GRAYLOG_TRANSPORT_EMAIL_SUBJECT_PREFIX=[graylog]

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.