@@ -32,45 +32,11 @@ services:
3232 timeout : 5s
3333 retries : 10
3434
35- otel-collector :
36- image : otel/opentelemetry-collector-contrib:0.115.1
37- command : ["--config=/etc/otel-collector-config.yaml"]
38- volumes :
39- - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml:ro
40- ports :
41- - " 4317:4317"
42- - " 4318:4318"
43- # Host 18889 avoids conflict with other tools binding Windows :8889; Prometheus still scrapes otel-collector:8889 on the Docker network.
44- - " 18889:8889"
45- - " 13133:13133"
46-
47- prometheus :
48- image : prom/prometheus:v2.55.1
49- depends_on :
50- - otel-collector
51- command :
52- - " --config.file=/etc/prometheus/prometheus.yml"
53- - " --storage.tsdb.path=/prometheus"
54- - " --storage.tsdb.retention.time=15d"
55- - " --web.enable-lifecycle"
56- ports :
57- - " 9090:9090"
58- volumes :
59- - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
60- - ${GRAFANA_STORAGE_PATH:-S:/sim-steward-grafana-storage}/prometheus:/prometheus
61- healthcheck :
62- test : ["CMD", "wget", "-q", "-O", "-", "http://127.0.0.1:9090/-/healthy"]
63- interval : 10s
64- timeout : 5s
65- retries : 10
66-
6735 grafana :
6836 image : grafana/grafana:11.2.0
6937 depends_on :
7038 loki :
7139 condition : service_healthy
72- prometheus :
73- condition : service_healthy
7440 ports :
7541 - " 3000:3000"
7642 environment :
@@ -81,17 +47,6 @@ services:
8147 - ${GRAFANA_STORAGE_PATH:-S:/sim-steward-grafana-storage}/grafana:/var/lib/grafana
8248 - ./grafana/provisioning:/etc/grafana/provisioning:ro
8349
84- alloy :
85- image : grafana/alloy:v1.5.1
86- depends_on :
87- loki :
88- condition : service_healthy
89- volumes :
90- - ./config.alloy:/etc/alloy/config.alloy:ro
91- - ${SIMSTEWARD_DATA_PATH}:/var/log/simsteward:ro
92- - ${GRAFANA_STORAGE_PATH:-S:/sim-steward-grafana-storage}/alloy:/tmp/positions
93- command : ["run", "/etc/alloy/config.alloy", "--storage.path=/tmp/positions"]
94-
9550 data-api :
9651 build : ./data-api
9752 ports :
0 commit comments