How to config SMTP Settings in Sentry
?
I set my SMTP mail-server configuration on onpremise/config.yml
, then I did as follows:
sudo docker-compose run --rm web upgrade
sudo docker-compose up -d
(before that, I removed previous consider containers)
But in Sentry mail setting panel not appeared my SMTP configs:
NOTE: I'm using onpremise sentry docker package.
What should I do?
Any help with this would be greatly appreciated.
Problem solved:
I updated my Sentry version from 8.22.0 to 9.0.0 with Dockerfile and configure config.yml file as following:
###############
# Mail Server #
###############
mail.backend: 'smtp' # Use dummy if you want to disable email entirely
mail.host: 'smtp.gmail.com'
mail.port: 587
mail.username: '[email protected]'
mail.password: '********'
mail.use-tls: true
# The email address to send on behalf of
mail.from: '[email protected]'
FROM sentry:9.0-onbuild
Or you can do $ git pull
in onpremise path (to get latest changes).
docker-compose build
docker-compose run --rm web upgrade
docker-compose up -d