Skip to content

Commit

Permalink
add --external-url for alertmanager (#1608)
Browse files Browse the repository at this point in the history
  • Loading branch information
reAsOn2010 authored Nov 2, 2021
1 parent ebbeca0 commit 440fe98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions embed/templates/scripts/run_alertmanager.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}" \
Expand Down

0 comments on commit 440fe98

Please sign in to comment.