Admin email sends Docker network URL with notifications

Good Day

We have deployed SQ on Kubernetes using Helm. In the settings I see there are fields to describe the server URL. In email settings there is no URL field to specify the location of the server. In Helm chart, the email settings seem to be sparse. I checked the doco and went through many settings screens and have no idea how to change this. It’s so simple, maybe its just a tick box…

What happens is, when an email is generated at startup or some other event, the email gives links to things inside SonarQube, but the links are in the format of the container network.

What we get and does not work is http://localhost:9000/foo/bar

What we expect and what actually works: https://sonarqube.company.com/foo/bar

Is there a setting I missed? Any pointers are greatly appreciated.

Many thanks

Hi,

Welcome to the community!

When links are included in a SonarQube-generated URL, they’ll use the Server base URL. To set it, go to Administration. You’ll land on the General page. Scroll down. It’s toward the bottom.

 
HTH,
Ann

It is not working that way… We are now on 2025.1 Dev license.

Hi,

Okay, I’ll ask the dumb question: that email was generated after you configured the server base URL?

 
Ann

Yes. Also, it was that way with Community Edition, then we updated to Dev edition. In both cases, the email prints the docker network URL.

Currently - Developer Edition v2025.1 (102418)

1 Like

Hi,

Thanks for confirming. I’ve flagged this for the team.

 
Ann