diff --git a/Dockerfile b/Dockerfile index 61dc6ee..5736e14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM prom/prometheus -LABEL version="20240623.1.1" +LABEL version="20240623.1.2" LABEL description="prometheus" RUN mkdir -p /etc/prometheus diff --git a/docker-compose.yml b/docker-compose.yml index a23a7f5..bcf612b 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.1 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/prometheus:240623.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 4dd1c94..c0c5677 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -34,14 +34,14 @@ scrape_configs: module: [https_2xx] static_configs: - targets: - - https://thelinux.pro + - ['thelinux.pro:443'] - job_name: blackbox_http_3xx metrics_path: /probe params: module: [http_301] static_configs: - targets: - - http://thelinux.pro + - ['http://thelinux.pro:80'] - job_name: blackbox_dns_thelinux_pro__A metrics_path: /probe params: