diff options
Diffstat (limited to 'roles/monitoring/alerta/templates')
-rw-r--r-- | roles/monitoring/alerta/templates/pod-spec.yml.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/monitoring/alerta/templates/pod-spec.yml.j2 b/roles/monitoring/alerta/templates/pod-spec.yml.j2 index 9ce20988..5523b621 100644 --- a/roles/monitoring/alerta/templates/pod-spec.yml.j2 +++ b/roles/monitoring/alerta/templates/pod-spec.yml.j2 @@ -29,6 +29,9 @@ containers: {% endif %} ports: - containerPort: 8080 +{% if alerta_web_nginx_vhost is defined %} + hostIP: "127.0.0.1" +{% endif %} hostPort: {{ alerta_web_port }} - name: postgresql |