diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-04-29 21:26:15 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-04-29 21:26:15 +0200 |
commit | 10c2b1a4f2f2cb14337a91f136d152ec196aa5a0 (patch) | |
tree | c398679dd9833ecf568d7657b835eef3a7c383a8 /roles/monitoring/alerta/templates/pod-spec.yml.j2 | |
parent | core/base: cleanup for cloud-init leftovers and configure timezone (diff) |
monitoiring/alerta: support publishment via nginx vhost
Diffstat (limited to 'roles/monitoring/alerta/templates/pod-spec.yml.j2')
-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 |