forked from joe-elliott/tempo-otel-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
66 lines (61 loc) · 1.57 KB
/
docker-compose.yaml
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
version: "3.4"
services:
tracing-example:
image: tracing-example
ports:
- 8000:8000
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
tempo:
image: grafana/tempo:0.7.0
command: ["--target=all", "--storage.trace.backend=local", "--storage.trace.local.path=/var/tempo", "--auth.enabled=false"]
ports:
- 8081:80
logging:
driver: loki
options:
loki-url: 'http://localhost:3100/api/prom/push'
tempo-query:
image: grafana/tempo-query:0.7.0
environment:
- BACKEND=tempo:80
volumes:
- ./etc/tempo-query.yaml:/etc/tempo-query.yaml
ports:
- "16686:16686" # jaeger-ui
depends_on:
- tempo
logging:
driver: loki
options:
loki-url: 'http://localhost:3100/api/prom/push'
grafana:
image: grafana/grafana:7.3.x-exemplars
volumes:
- ./config/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
ports:
- "3000:3000"
loki:
image: grafana/loki:2.2.1
command: -config.file=/etc/loki/local-config.yaml
ports:
- "3100:3100"
logging:
driver: loki
options:
loki-url: 'http://localhost:3100/api/prom/push'
prometheus:
image: cstyan/prometheus:exemplars-64206a
volumes:
- ./config/prometheus.yaml:/etc/prometheus.yaml
entrypoint:
- /bin/prometheus
- --config.file=/etc/prometheus.yaml
ports:
- "9090:9090"