Add Postgres exporter service

This commit is contained in:
HDwayne
2024-02-04 01:18:34 +01:00
parent a56b04f04b
commit 5f691ef877
2 changed files with 12 additions and 0 deletions

View File

@@ -27,6 +27,15 @@ services:
networks:
- 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:
torrentio-network:
external: true