-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.observability.yml
More file actions
47 lines (42 loc) · 1.35 KB
/
docker-compose.observability.yml
File metadata and controls
47 lines (42 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
services:
loki:
image: grafana/loki:2.9.5
ports: [3100:3100]
command: -config.file=/etc/loki/local-config.yaml
promtail:
image: grafana/promtail:2.9.5
volumes:
- ./var/log:/var/log
- ./docker/promtail:/etc/promtail
command: -config.file=/etc/promtail/config.yml
grafana:
image: grafana/grafana:10.4.0
ports: [3001:3000]
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
volumes:
- grafana_data:/var/lib/grafana
- ./monitoring/dashboards:/etc/grafana/provisioning/dashboards
- ./monitoring/datasources:/etc/grafana/provisioning/datasources
depends_on: [loki, tempo, prometheus]
tempo:
image: grafana/tempo:2.4.0
command: -config.file=/etc/tempo/tempo.yaml
ports:
- "4317:4317"
- "4318:4318"
volumes:
- ./docker/tempo/tempo.yaml:/etc/tempo/tempo.yaml:ro
- ./docker/tempo/overrides.yaml:/etc/tempo/overrides.yaml:ro
prometheus:
image: prom/prometheus:latest
ports: [9090:9090]
volumes:
- ./monitoring/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console.libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
volumes:
grafana_data: