fix pings, map UDP cluster port as well

Fixes issue with:
[DEBUG] memberlist: Failed ping: 01ES60AHQ05ZNRSXR6Y5SW33Q2 (timeout reached)
[WARN] memberlist: Was able to connect to 01ES60AHQ05ZNRSXR6Y5SW33Q2 but other probes failed, network may be m

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-12-10 11:06:36 +01:00
parent 1fa2e4fb22
commit b84557d921
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ services:
restart: 'always'
ports:
- '0.0.0.0:{{ alertmanager_webui_port }}:{{ alertmanager_webui_port }}' # Web UI
- '0.0.0.0:{{ alertmanager_cluster_port }}:{{ alertmanager_cluster_port }}' # Cluster
- '0.0.0.0:{{ alertmanager_cluster_port }}:{{ alertmanager_cluster_port }}/tcp' # Cluster
- '0.0.0.0:{{ alertmanager_cluster_port }}:{{ alertmanager_cluster_port }}/udp' # Cluster
volumes:
- '{{ alertmanager_service_path }}/conf/alertmanager.yml:/etc/alertmanager.yml:ro'
- '{{ alertmanager_service_path }}/conf/amtool.yml:/etc/amtool/config.yml:ro'