From 9174639f3214336bee4cbecb9463b234e11eaa29 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Mon, 17 Apr 2023 22:01:31 +0200 Subject: [PATCH] Prometheus: Put External URL into alerts --- .../compose_project/templates/prometheus/docker-compose.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coreos-config/roles/compose_project/templates/prometheus/docker-compose.yaml b/coreos-config/roles/compose_project/templates/prometheus/docker-compose.yaml index 20534e2..fc23b60 100644 --- a/coreos-config/roles/compose_project/templates/prometheus/docker-compose.yaml +++ b/coreos-config/roles/compose_project/templates/prometheus/docker-compose.yaml @@ -5,6 +5,7 @@ services: restart: unless-stopped command: - '--config.file=/etc/prometheus/prometheus.yml' + - '--web.external-url=https://prometheus.tobiasmanske.de' volumes: - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro,Z - prom_data:/prometheus @@ -54,6 +55,7 @@ services: restart: unless-stopped command: - '--config.file=/etc/alertmanager/config.yml' + - '--web.external-url=https://alertmanager.tobiasmanske.de' - '--storage.path=/data' alertmanager-matrix: