add config for node-exporter
This commit is contained in:
parent
6a2e9cf808
commit
deadc616b3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue