Prometheus: Put External URL into alerts

This commit is contained in:
Tobias Manske 2023-04-17 22:01:31 +02:00
parent 945fe5d39d
commit 9174639f32
Signed by: tobias
GPG Key ID: 9164B527694A0709
1 changed files with 2 additions and 0 deletions

View File

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