Hello, I recently installed Self Hosted Signoz. I ...
# support
a
Hello, I recently installed Self Hosted Signoz. I am trying to set SMTP configuration for invitation and alert mails but I cannot find where I am supposed to set them up. Can anyone help?
p
Hi @Anıl Reyhan, To configure SMTP for invitation, you need to set the following environment variables in `query-service`:
Copy code
SMTP_ENABLED: "true"
SMTP_PORT: "587"
SMTP_USERNAME: user
SMTP_FROM: <mailto:signoz@domain.com|signoz@domain.com>
SMTP_PASSWORD: pwd
SMTP_HOST: <http://smtp.domain.com|smtp.domain.com>
For the email alerts, you need to set following environment variables in `alertmanager`:
Copy code
ALERTMANAGER_SMTP_FROM: <mailto:alerts@domain.com|alerts@domain.com>
ALERTMANAGER_SMTP_HOST: <http://smtp.domain.com|smtp.domain.com>
ALERTMANAGER_SMTP_PORT: "587"
ALERTMANAGER_SMTP_AUTH_USERNAME: user
ALERTMANAGER_SMTP_AUTH_PASSWORD: password
a
OK. Let me start from the beginning. This is my first time trying this app. This is a support channel. You should give directions considering that. Your docs are not helpful. You did not even bother to add the ability to change/add config on UI and you are just stating filenames. How am I supposed to find them? You stated I should set env vars in query-service. Where is it? You didn’t specify. And also alertmanager. Are they in the UI? Are they xml files? Or yaml? Would it be so hard to add them in comments so that we can find or use them? Was it so hard to add them in the initial setup cycle?