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
static_configs:
- targets:
- "traefik:8080"
# traefik uses network host, so docker DNS wouldn't work.
- "127.0.0.1:8080"
relabel_configs:
- source_labels: [instance]
target_label: instance