-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose-win.yml
125 lines (117 loc) · 3.13 KB
/
docker-compose-win.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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
services:
blackbox:
# https://github.com/prometheus/blackbox_exporter/releases
image: prom/blackbox-exporter:v0.23.0
container_name: blackbox
restart: unless-stopped
ports:
- 9115:9115
volumes:
- /etc/localtime:/etc/localtime:ro
- ./blackbox/blackbox.yml:/etc/blackbox/blackbox.yml
command: --config.file=/etc/blackbox/blackbox.yml
networks:
otel:
prometheus:
# https://github.com/prometheus/prometheus/releases
image: prom/prometheus:v2.43.0
container_name: prometheus
hostname: prometheus
restart: unless-stopped
ports:
- 9090:9090
volumes:
- /etc/localtime:/etc/localtime:ro
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus:/prometheus
depends_on:
- blackbox
networks:
otel:
tempo:
# https://github.com/grafana/tempo/releases
image: grafana/tempo:2.0.1
container_name: tempo
command: [ "-config.file=/etc/tempo.yaml" ]
volumes:
- /etc/localtime:/etc/localtime:ro
- ./tempo/tempo.yml:/etc/tempo.yaml
- tempo:/tmp/tempo
restart: unless-stopped
ports:
- 3200:3200 # tempo
- 4007:4317 # otlp grpc
depends_on:
- otel-collector
networks:
otel:
loki:
# https://github.com/grafana/loki/releases
image: grafana/loki:2.8.0
container_name: loki
command: -config.file=/etc/loki/local-config.yaml
volumes:
- /etc/localtime:/etc/localtime:ro
- ./loki/loki.yml:/etc/loki/local-config.yaml
- loki:/data/loki
restart: unless-stopped
ports:
- 3100:3100
networks:
otel:
grafana:
# https://github.com/grafana/grafana/releases
image: grafana/grafana:9.4.7
container_name: grafana
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
volumes:
- /etc/localtime:/etc/localtime:ro
- grafana-data:/var/lib/grafana
- ./grafana/provisioning:/etc/grafana/provisioning
restart: unless-stopped
user: root
ports:
- 3000:3000
depends_on:
- prometheus
- tempo
- loki
networks:
otel:
otel-collector:
# https://github.com/open-telemetry/opentelemetry-collector-contrib/releases
container_name: otel
hostname: otel
image: otel/opentelemetry-collector-contrib:0.75.0
command: ["--config=/etc/otel-collector-config.yaml"]
volumes:
- ./otel/otel.yml:/etc/otel-collector-config.yaml
restart: unless-stopped
ports:
- 8888:8888 # Prometheus metrics exposed by the collector
- 8889:8889 # Prometheus exporter metrics
- 4317:4317 # OTLP gRPC receiver
- 9200:55679 # zpages
- 13133:13133 # Health check
networks:
otel:
rabbitmq:
# https://github.com/docker-library/rabbitmq
image: rabbitmq:3.11.0-management-alpine
container_name: rabbitmq
restart: unless-stopped
ports:
- 5672:5672
- 15672:15672
networks:
otel:
networks:
otel:
volumes:
loki:
prometheus:
tempo:
grafana-data: