diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 16:09:06 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 16:09:06 +0900 |
| commit | ec792a3d379c911165038d8da5b339df6ca3fccd (patch) | |
| tree | 324361089617b18110265efd10d174bbb0990b9f /docker-compose.yml | |
| parent | e1bf24b2a639ba21361ae408ee6c1eebe37801aa (diff) | |
feat(shared): add health checks and Prometheus metrics
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 21 |
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: |
