fix: Move traefik to ip

This commit is contained in:
Yury Akudovich
2024-04-19 12:01:55 +02:00
parent 135adfdeb6
commit 875c50be71

View File

@ -33,7 +33,8 @@ scrape_configs:
- job_name: traefik - job_name: traefik
static_configs: static_configs:
- targets: - targets:
- "traefik:8080" # traefik uses network host, so docker DNS wouldn't work.
- "127.0.0.1:8080"
relabel_configs: relabel_configs:
- source_labels: [instance] - source_labels: [instance]
target_label: instance target_label: instance