-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
70 lines (67 loc) · 1.72 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
63
64
65
66
67
68
69
70
version: "3.4"
services:
jaeger:
image: jaegertracing/all-in-one:1.45
ports:
- 9090:16686
- 6831:6831/udp
- 5775:5775/udp
- 6832:6832/udp
- 5778:5778
- 16686:16686
- 14268:14268
- 9411:9411
- 14250:14250
prometheus:
labels:
- "security.selinux.options=z"
image: prom/prometheus:v2.39.2
container_name: prometheus
hostname: prometheus
command:
- --config.file=/etc/prometheus.yaml
- --web.enable-remote-write-receiver
- --enable-feature=exemplar-storage
volumes:
- ./prometheus.yaml:/etc/prometheus.yaml:z
ports:
- "8888:9090"
healthcheck:
interval: 5s
retries: 10
collector:
labels:
- "security.selinux.options=z"
image: otel/opentelemetry-collector:latest
container_name: collector
hostname: collector
depends_on:
jaeger:
condition: service_healthy
command: ["--config=/etc/otelcol/config/config.yaml"]
volumes:
- ./collector-config-local.yaml:/etc/otelcol/config/config.yaml:z
ports:
- "5555:5555"
- "6666:6666"
grafana:
labels:
- "security.selinux.options=z"
image: grafana/grafana:9.2.2
depends_on:
prometheus:
condition: service_healthy
container_name: grafana
hostname: grafana
volumes:
- ./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml:z
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
ports:
- "3000:3000"
healthcheck:
interval: 5s
retries: 10
test: wget --no-verbose --tries=1 --spider http://localhost:3000 || exit 1