Closed mpibpc-mroose closed 1 year ago
Hey @mpibpc-mroose,
the environment variables should be passed through to the Graylog server, which is using them to override settings from the config file. Therefore, there is no need for them to be written to the server config.
As this is not an issue with Graylog, I am closing this issue. Feel free to reopen it, if you have additional information.
Hi Dennis, ok, thanks for the explanation.
Anyway: in my case that does not work. If I try to add an alert I get:
"Error: Notification has email recipients and is triggered, but email transport is not configured. Email transport is not enabled in server configuration file!"
when trying to send a test mail.
How can I figure out with which configuration my graylog runs? An if it uses my settings from the environment variables?
@mpibpc-mroose The docker-compose.yml snippet you posted has the email transport disabled.
Is that the issue?
Thanks! Figured it out where something was missing and something was wrong...
I will make a feature request to migrate those settings into the Graylog UI. Configuring Email in the conf file seems to be old school in my opinion. In UI some more validation an testing options would be possible...
I have added configuration to enable email in graylog to my
docker-compose.yml
:When I go into my running graylog container and grep for those the config options are not added/changed:
I checked the
docker-entrypoint.sh
to find out, where the env variables get converted to the config file. But I was not able to find the code for that ...