chore: add default cluster listen address
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
23e67ec3a4
commit
1f2fe70f37
@ -17,6 +17,9 @@ alertmanager_web_bind_ip: 127.0.0.1
|
|||||||
alertmanager_web_bind_port: 61001
|
alertmanager_web_bind_port: 61001
|
||||||
alertmanager_web_external_url: "http://localhost:61001/"
|
alertmanager_web_external_url: "http://localhost:61001/"
|
||||||
|
|
||||||
|
alertmanager_cluster_bind_ip: 127.0.0.1
|
||||||
|
alertmanager_cluster_bind_port: 61002
|
||||||
|
|
||||||
alertmanager_web_tls_enabled: False
|
alertmanager_web_tls_enabled: False
|
||||||
alertmanager_web_tls_cert_path: "{{ alertmanager_base_dir }}/tls/certs/mycert.pem"
|
alertmanager_web_tls_cert_path: "{{ alertmanager_base_dir }}/tls/certs/mycert.pem"
|
||||||
alertmanager_web_tls_key_path: "{{ alertmanager_base_dir }}/tls/private/mykey.pem"
|
alertmanager_web_tls_key_path: "{{ alertmanager_base_dir }}/tls/private/mykey.pem"
|
||||||
|
@ -17,7 +17,7 @@ ExecStart={{ alertmanager_base_dir }}/alertmanager \
|
|||||||
--web.config.file={{ alertmanager_config_dir }}/web.yml \
|
--web.config.file={{ alertmanager_config_dir }}/web.yml \
|
||||||
--web.listen-address={{ alertmanager_web_bind_ip }}:{{ alertmanager_web_bind_port }} \
|
--web.listen-address={{ alertmanager_web_bind_ip }}:{{ alertmanager_web_bind_port }} \
|
||||||
--web.external-url={{ alertmanager_web_external_url }} \
|
--web.external-url={{ alertmanager_web_external_url }} \
|
||||||
--cluster.listen-address= \
|
--cluster.listen-address={{ alertmanager_cluster_bind_ip }}:{{ alertmanager_cluster_bind_port }} \
|
||||||
{% for flag in alertmanager_config_flags_extra %}
|
{% for flag in alertmanager_config_flags_extra %}
|
||||||
{% if flag.value is not defined %}
|
{% if flag.value is not defined %}
|
||||||
--{{ flag.name }} \
|
--{{ flag.name }} \
|
||||||
|
Loading…
Reference in New Issue
Block a user