add config for node-exporter
This commit is contained in:
parent
6a2e9cf808
commit
deadc616b3
|
@ -1,6 +1,6 @@
|
||||||
FROM prom/prometheus
|
FROM prom/prometheus
|
||||||
|
|
||||||
LABEL version="20240605.1.1"
|
LABEL version="20240605.1.2"
|
||||||
LABEL description="bind9 primary nameserver"
|
LABEL description="bind9 primary nameserver"
|
||||||
|
|
||||||
RUN mkdir -p /etc/prometheus
|
RUN mkdir -p /etc/prometheus
|
||||||
|
|
|
@ -10,7 +10,7 @@ services:
|
||||||
prometheus:
|
prometheus:
|
||||||
build:
|
build:
|
||||||
dockerfile: Dockerfile
|
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
|
container_name: prometheus
|
||||||
command: '--config.file=/etc/prometheus/prometheus.yml'
|
command: '--config.file=/etc/prometheus/prometheus.yml'
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
@ -19,3 +19,6 @@ scrape_configs:
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost:9090
|
- localhost:9090
|
||||||
|
- job_name: docker_hosts
|
||||||
|
static_configs:
|
||||||
|
- targets: ['pi501.in.thelinuxpro.net:9100', 'pi502.in.thelinuxpro.net:9100']
|
||||||
|
|
Loading…
Reference in New Issue