Skip to content

Commit c9c04c7

Browse files
authored
Dashboards postgres & rabbitmq & elasticsearch (#403)
Signed-off-by: Slimane AMAR <[email protected]>
1 parent 43bfbb9 commit c9c04c7

File tree

5 files changed

+17825
-1
lines changed

5 files changed

+17825
-1
lines changed

docker-compose/technical/docker-compose.technical.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,21 @@ services:
4747
- $PWD/../technical/init-merging-data.sh:/init-merging-data.sh:Z
4848
restart: unless-stopped
4949

50+
postgres-exporter:
51+
profiles:
52+
- all
53+
- metrics
54+
image: prometheuscommunity/postgres-exporter:v0.15.0
55+
ports:
56+
- "9187:9187"
57+
environment:
58+
- DATA_SOURCE_USER=postgres
59+
- DATA_SOURCE_PASS=postgres
60+
- DATA_SOURCE_URI=postgres:5432/postgres?sslmode=disable
61+
restart: unless-stopped
62+
depends_on:
63+
- postgres
64+
5065
elasticsearch:
5166
image: docker.elastic.co/elasticsearch/elasticsearch:8.7.1
5267
ports:
@@ -63,6 +78,19 @@ services:
6378
- $GRIDSUITE_DATABASES/elasticsearch:/usr/share/elasticsearch/data
6479
restart: unless-stopped
6580

81+
elasticsearch-exporter:
82+
profiles:
83+
- all
84+
- metrics
85+
image: prometheuscommunity/elasticsearch-exporter:v1.7.0
86+
command:
87+
- '--es.uri=http://elasticsearch:9200'
88+
ports:
89+
- "9114:9114"
90+
restart: unless-stopped
91+
depends_on:
92+
- elasticsearch
93+
6694
kibana:
6795
profiles:
6896
- all

0 commit comments

Comments
 (0)