summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 16:09:06 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 16:09:06 +0900
commitec792a3d379c911165038d8da5b339df6ca3fccd (patch)
tree324361089617b18110265efd10d174bbb0990b9f /docker-compose.yml
parente1bf24b2a639ba21361ae408ee6c1eebe37801aa (diff)
feat(shared): add health checks and Prometheus metrics
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index c961354..95a5c63 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -75,6 +75,27 @@ services:
condition: service_healthy
restart: unless-stopped
+ prometheus:
+ image: prom/prometheus:latest
+ profiles: ["monitoring"]
+ ports:
+ - "9090:9090"
+ volumes:
+ - ./monitoring/prometheus.yml:/etc/prometheus/prometheus.yml
+ depends_on:
+ - data-collector
+ - strategy-engine
+ - order-executor
+ - portfolio-manager
+
+ grafana:
+ image: grafana/grafana:latest
+ profiles: ["monitoring"]
+ ports:
+ - "3000:3000"
+ depends_on:
+ - prometheus
+
volumes:
redis_data:
postgres_data: