add postgres metric exporter
parent
6a47cef5b2
commit
f0ce7977c0
|
@ -3,7 +3,7 @@ forum
|
|||
tiles
|
||||
grafana
|
||||
prometheus
|
||||
postgres*
|
||||
postgres
|
||||
Colors.txt
|
||||
filebrowser.db
|
||||
beerchat.json
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
location /postgres-exporter/ {
|
||||
proxy_pass http://postgres-exporter:9187/;
|
||||
access_log off;
|
||||
}
|
|
@ -36,6 +36,16 @@ services:
|
|||
options:
|
||||
max-size: 50m
|
||||
|
||||
postgres-exporter:
|
||||
image: wrouesnel/postgres_exporter:v0.8.0
|
||||
restart: always
|
||||
environment:
|
||||
- DATA_SOURCE_URI=postgres:5432/postgres?sslmode=disable
|
||||
- DATA_SOURCE_USER=postgres
|
||||
- DATA_SOURCE_PASS=enter
|
||||
depends_on:
|
||||
- postgres
|
||||
|
||||
auth-proxy:
|
||||
image: minetestauth/minetest-auth-proxy
|
||||
labels:
|
||||
|
|
Loading…
Reference in New Issue