diff --git a/embed/templates/scripts/run_alertmanager.sh.tpl b/embed/templates/scripts/run_alertmanager.sh.tpl index 9955da457a..19a362f905 100644 --- a/embed/templates/scripts/run_alertmanager.sh.tpl +++ b/embed/templates/scripts/run_alertmanager.sh.tpl @@ -20,6 +20,7 @@ exec bin/alertmanager/alertmanager \ --data.retention=120h \ --log.level="info" \ --web.listen-address="{{.IP}}:{{.WebPort}}" \ + --web.external-url="http://{{.IP}}:{{.WebPort}}" \ {{- if .EndPoints}} {{- range $idx, $am := .EndPoints}} --cluster.peer="{{$am.IP}}:{{$am.ClusterPort}}" \