chore: add default cluster listen address
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-06-03 01:07:56 +02:00
parent 23e67ec3a4
commit 1f2fe70f37
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 4 additions and 1 deletions

View File

@ -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"

View File

@ -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 }} \