-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
88 lines (81 loc) · 1.82 KB
/
Copy pathdocker-compose.yml
File metadata and controls
88 lines (81 loc) · 1.82 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: '3.8'
services:
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "13000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
volumes:
- grafana-storage:/var/lib/grafana
depends_on:
- prometheus
- loki
- tempo
dns_search: []
networks:
- observability
prometheus:
image: prom/prometheus:latest
container_name: prometheus
ports:
- "19090:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus-storage:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
dns_search: []
networks:
- observability
loki:
image: grafana/loki:latest
container_name: loki
ports:
- "13100:3100"
volumes:
- loki-storage:/loki
dns_search: []
networks:
- observability
tempo:
image: grafana/tempo:latest
container_name: tempo
ports:
- "13200:3200"
- "14317:4317"
- "14318:4318"
volumes:
- tempo-storage:/var/tempo
- ./tempo-config.yaml:/etc/tempo/tempo-config.yaml
command: [ "-config.file=/etc/tempo/tempo-config.yaml" ]
dns_search: []
networks:
- observability
otel-collector:
image: otel/opentelemetry-collector-contrib:latest
container_name: otel-collector
ports:
- "24317:4317"
- "24318:4318"
- "19411:9411"
volumes:
- ./otel-collector-config.yml:/etc/otel-collector-config.yml
command: [ "--config=/etc/otel-collector-config.yml" ]
depends_on:
- loki
- prometheus
- tempo
dns_search: []
networks:
- observability
volumes:
grafana-storage:
prometheus-storage:
loki-storage:
tempo-storage:
networks:
observability:
driver: bridge