SMTP configuration for my on premise sentry running on docker

I’ve changed my SMTP settings in my .env file. The .env file is linked in my docker-compose.yml and when i rebuild with docker-compose up -d it registers the changes and builds them.
But the changes are not applied, what am i doing wrong?

SMTP settings are not picked up from env variables but from config files. I think that’s your issue.