How to get emails to work in docker-compose environment? #2943
Unanswered
itsamemarkus
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @itsamemarkus ,
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I installed semaphore for the first time, tested a bunch without email env variables, added the email config to my
docker-compose.yml
My user is allowed to send alerts (small complaint here if a dev is reading: Please make the permission for owners to send alerts default, imo is not intuitive that this has to be enabled)
When I exec into the container all environment variables are present when executing
printenv
The config file inside the container looks like this:
After reading https://docs.semaphoreui.com/administration-guide/configuration/ I thought just adding the environment variables to my
docker-compose.yml
afterwards would suffice.On my firewall I can't see any connection attempt to my mailserver. I can manually ping the mailserver from the container and get replies. Am I missing something? Settings or so?
Edit
Or do the environment variables for the email server config have to be present with the very first run?I removed all volumes and strated from scratch with the email environment variables. There is no attempt to send an email.
Might even be a bug? Manual connection to my mailserver works from within the semaphore container

Beta Was this translation helpful? Give feedback.
All reactions