diff --git a/Dockerfile b/Dockerfile index e0e2530..2929d04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM prom/prometheus -LABEL version="20240605.1.1" +LABEL version="20240605.1.2" LABEL description="bind9 primary nameserver" RUN mkdir -p /etc/prometheus diff --git a/docker-compose.yml b/docker-compose.yml index d550159..248c50f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: prometheus: build: dockerfile: Dockerfile - image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240605.1.1 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240605.1.2 container_name: prometheus command: '--config.file=/etc/prometheus/prometheus.yml' restart: unless-stopped diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index f48194d..42dcd0e 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -19,3 +19,6 @@ scrape_configs: static_configs: - targets: - localhost:9090 +- job_name: docker_hosts + static_configs: + - targets: ['pi501.in.thelinuxpro.net:9100', 'pi502.in.thelinuxpro.net:9100']