Add scrape option for host.docker.internal
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d3704bf4da
commit
bd750a2ae1
@ -15,6 +15,8 @@ services:
|
|||||||
- prometheus-docker-sd
|
- prometheus-docker-sd
|
||||||
- cadvisor
|
- cadvisor
|
||||||
- node-exporter
|
- node-exporter
|
||||||
|
extra_hosts:
|
||||||
|
- host.docker.internal:host-gateway
|
||||||
networks:
|
networks:
|
||||||
- default # send
|
- default # send
|
||||||
- backend
|
- backend
|
||||||
|
@ -20,7 +20,7 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "prometheus-scrape.enabled=true"
|
- "prometheus-scrape.enabled=true"
|
||||||
- "prometheus-scrape.port=9091"
|
- "prometheus-scrape.port=9091"
|
||||||
- "prometheus-scrape.hostname=tobiasmanske.de"
|
- "prometheus-scrape.hostname=host.docker.internal"
|
||||||
|
|
||||||
{% if deploy_traefik_fa %}
|
{% if deploy_traefik_fa %}
|
||||||
traefik-fa:
|
traefik-fa:
|
||||||
|
Loading…
Reference in New Issue
Block a user