57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
prometheus:
|
|
image: prom/prometheus:v2.49.1
|
|
volumes:
|
|
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
|
command:
|
|
- "--config.file=/etc/prometheus/prometheus.yml"
|
|
ports:
|
|
- "9090:9090"
|
|
|
|
loki:
|
|
image: grafana/loki:2.8.3
|
|
volumes:
|
|
- ./loki/loki.yaml:/etc/loki/loki.yaml:ro
|
|
- loki-data:/loki
|
|
command: -config.file=/etc/loki/loki.yaml
|
|
ports:
|
|
- "3100:3100"
|
|
|
|
tempo:
|
|
image: grafana/tempo:2.3.1
|
|
volumes:
|
|
- ./tempo/tempo.yaml:/etc/tempo/tempo.yaml:ro
|
|
- tempo-data:/var/tempo
|
|
command: -config.file=/etc/tempo/tempo.yaml
|
|
ports:
|
|
- "3200:3200"
|
|
- "4328:4318"
|
|
|
|
otel-collector:
|
|
image: otel/opentelemetry-collector-contrib:0.93.0
|
|
volumes:
|
|
- ./otel/otel-collector.yaml:/etc/otel/otel-collector.yaml:ro
|
|
command:
|
|
- "--config=/etc/otel/otel-collector.yaml"
|
|
ports:
|
|
- "4317:4317"
|
|
- "4318:4318"
|
|
- "8888:8888"
|
|
|
|
grafana:
|
|
image: grafana/grafana:10.3.1
|
|
environment:
|
|
GF_SECURITY_ADMIN_USER: admin
|
|
GF_SECURITY_ADMIN_PASSWORD: admin
|
|
volumes:
|
|
- grafana-data:/var/lib/grafana
|
|
ports:
|
|
- "3111:3000"
|
|
|
|
volumes:
|
|
grafana-data:
|
|
loki-data:
|
|
tempo-data:
|