diff --git a/Dockerfile b/Dockerfile index 5736e14..cee2c74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM prom/prometheus -LABEL version="20240623.1.2" +LABEL version="20240623.1.3" LABEL description="prometheus" RUN mkdir -p /etc/prometheus diff --git a/docker-compose.yml b/docker-compose.yml index bcf612b..76312ea 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:240623.1.2 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240623.1.3 container_name: prometheus command: '--config.file=/etc/prometheus/prometheus.yml' restart: unless-stopped diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index c0c5677..541f311 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -34,14 +34,14 @@ scrape_configs: module: [https_2xx] static_configs: - targets: - - ['thelinux.pro:443'] + - thelinux.pro:443 - job_name: blackbox_http_3xx metrics_path: /probe params: module: [http_301] static_configs: - targets: - - ['http://thelinux.pro:80'] + - http://thelinux.pro:80 - job_name: blackbox_dns_thelinux_pro__A metrics_path: /probe params: