This commit is contained in:
Yevgeniy Ulyantsev
2026-01-28 23:58:38 +03:00
parent 8328d32735
commit 341d6eff13

View File

@@ -3,38 +3,40 @@ version: "3.8"
services: services:
prometheus: prometheus:
image: prom/prometheus:v2.49.1 image: prom/prometheus:v2.49.1
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
command: command:
- "--config.file=/etc/prometheus/prometheus.yml" - "--config.file=/etc/prometheus/prometheus.yml"
volumes:
- ./prometheus:/etc/prometheus:ro
ports: ports:
- "9090:9090" - "9090:9090"
loki: loki:
image: grafana/loki:2.8.3 image: grafana/loki:2.8.3
command:
- "-config.file=/etc/loki/loki.yaml"
volumes: volumes:
- ./loki/loki.yaml:/etc/loki/loki.yaml:ro - ./loki:/etc/loki:ro
- loki-data:/loki - loki-data:/loki
command: -config.file=/etc/loki/loki.yaml
ports: ports:
- "3100:3100" - "3100:3100"
tempo: tempo:
image: grafana/tempo:2.3.1 image: grafana/tempo:2.3.1
command:
- "-config.file=/etc/tempo/tempo.yaml"
volumes: volumes:
- ./tempo/tempo.yaml:/etc/tempo/tempo.yaml:ro - ./tempo:/etc/tempo:ro
- tempo-data:/var/tempo - tempo-data:/var/tempo
command: -config.file=/etc/tempo/tempo.yaml
ports: ports:
- "3200:3200" - "3200:3200"
- "4328:4318" - "4328:4318"
otel-collector: otel-collector:
image: otel/opentelemetry-collector-contrib:0.93.0 image: otel/opentelemetry-collector-contrib:0.93.0
volumes:
- ./otel/otel-collector.yaml:/etc/otel/otel-collector.yaml:ro
command: command:
- "--config=/etc/otel/otel-collector.yaml" - "--config=/etc/otel/otel-collector.yaml"
volumes:
- ./otel:/etc/otel:ro
ports: ports:
- "4317:4317" - "4317:4317"
- "4318:4318" - "4318:4318"