mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
Add Postgres exporter service
This commit is contained in:
@@ -27,6 +27,15 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- torrentio-network
|
- torrentio-network
|
||||||
|
|
||||||
|
postgres-exporter:
|
||||||
|
image: prometheuscommunity/postgres-exporter
|
||||||
|
ports:
|
||||||
|
- "9187:9187"
|
||||||
|
environment:
|
||||||
|
DATA_SOURCE_NAME: "postgresql://postgres:postgres@postgres:5432/selfhostio?sslmode=disable"
|
||||||
|
networks:
|
||||||
|
- torrentio-network
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
torrentio-network:
|
torrentio-network:
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
@@ -17,3 +17,6 @@ scrape_configs:
|
|||||||
- job_name: "rabbitmq"
|
- job_name: "rabbitmq"
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ["rabbitmq:15692"]
|
- targets: ["rabbitmq:15692"]
|
||||||
|
- job_name: "postgres-exporter"
|
||||||
|
static_configs:
|
||||||
|
- targets: ["postgres-exporter:9187"]
|
||||||
|
|||||||
Reference in New Issue
Block a user