Help SMTP configuration

Hi

I just installed Grafana and Prometheus for the first time today to monitor 8 servers, but I’m encountering a problem with the SMTP configuration. When I request a password reset, I receive the email, but the reset link doesn’t reflect my domain name: http://localhost:3000/user/password/reset?…
I’m using HAProxy for the SSL connection in front of Grafana. Thank you for your help.

Problem solved by adding the variable: