-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
62 lines (57 loc) · 1.52 KB
/
docker-compose.yml
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
version: "3.9"
services:
#zipkin:
# image: openzipkin/zipkin:latest
# container_name: zipkin
# ports:
# - "9411:9411"
otel-collector:
image: otel/opentelemetry-collector-contrib:latest
container_name: otel-collector
command: ["--config=/etc/otel-collector.yml"]
volumes:
- ./.docker/opentelemetry-collector.yml:/etc/otel-collector.yml
- ./output:/etc/output:rw
ports:
- "8888:8888" # prometheus metrics
- "8889:8889" # prometheus exporter
- "4317:4317" # oltp grpc receiver
depends_on:
#- zipkin
- grafana
prometheus:
image: prom/prometheus:latest
container_name: prometheus
volumes:
- ./.docker/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
tempo:
image: grafana/tempo:latest
container_name: tempo
command: [ "-config.file=/etc/tempo.yaml" ]
volumes:
- ./.docker/tempo.yaml:/etc/tempo.yaml
ports:
- "3200:3200"
loki:
image: grafana/loki:latest
container_name: loki
command: [ "-config.file=/etc/loki/local-config.yaml" ]
ports:
- "3100:3100"
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
volumes:
- ./.docker/grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
depends_on:
- prometheus
#- loki
- tempo