mirror of
https://github.com/rodneyosodo/homelab.git
synced 2026-06-23 04:10:19 +00:00
fix(prometheus): enable scraping docker containers
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
This commit is contained in:
@@ -10,5 +10,6 @@ services:
|
||||
ports:
|
||||
- 4081:9090
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./docker-compose/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
|
||||
- ~/docker-volumes/prometheus/data:/prometheus
|
||||
|
||||
@@ -15,4 +15,4 @@ scrape_configs:
|
||||
- job_name: cloudflared
|
||||
static_configs:
|
||||
- targets:
|
||||
- bohr:4090
|
||||
- cloudflared:4090
|
||||
|
||||
Reference in New Issue
Block a user