mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-02-05 05:24:05 +00:00
Remove nginx-exporter config. Nginx isn't in the normal netbox-docker config now that nginx-unit is used inside the netbox container.
parent
755ea53ed8
commit
1ebad00d31
@ -16,15 +16,6 @@ services:
|
|||||||
tmpfs:
|
tmpfs:
|
||||||
mode: 0o01777
|
mode: 0o01777
|
||||||
|
|
||||||
# nginx
|
|
||||||
nginx-exporter:
|
|
||||||
image: nginx/nginx-prometheus-exporter
|
|
||||||
depends_on:
|
|
||||||
- nginx
|
|
||||||
command:
|
|
||||||
- -nginx.scrape-uri
|
|
||||||
- http://nginx:8081/stub_status
|
|
||||||
|
|
||||||
# postgres
|
# postgres
|
||||||
postgres-exporter:
|
postgres-exporter:
|
||||||
image: wrouesnel/postgres_exporter:v0.8.0
|
image: wrouesnel/postgres_exporter:v0.8.0
|
||||||
@ -59,7 +50,6 @@ services:
|
|||||||
- postgres-exporter
|
- postgres-exporter
|
||||||
- redis-cache-exporter
|
- redis-cache-exporter
|
||||||
- redis-worker-exporter
|
- redis-worker-exporter
|
||||||
- nginx-exporter
|
|
||||||
- netbox
|
- netbox
|
||||||
ports:
|
ports:
|
||||||
- '9090:9090'
|
- '9090:9090'
|
||||||
@ -104,10 +94,6 @@ scrape_configs:
|
|||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['netbox:8001']
|
- targets: ['netbox:8001']
|
||||||
|
|
||||||
- job_name: nginx
|
|
||||||
static_configs:
|
|
||||||
- targets: ['nginx-exporter:9113']
|
|
||||||
|
|
||||||
- job_name: postgresql
|
- job_name: postgresql
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['postgres-exporter:9187']
|
- targets: ['postgres-exporter:9187']
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user