This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathdocker-compose.yml
62 lines (61 loc) · 1.88 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'
services:
# elastic:
# image: docker.elastic.co/elasticsearch/elasticsearch:7.15.0
# environment:
# - discovery.type=single-node
# ports:
# - "9200:9200"
# - "9300:9300"
jaeger:
image: jaegertracing/all-in-one
# environment:
# - SPAN_STORAGE_TYPE=elasticsearch
# - ES_SERVER_URLS=http://elastic:9200
ports:
- 5775:5775
- 6831:6831
- 6832:6832
- 5778:5778
- 16686:16686
- 14268:14268
- 14250:14250
- 9411:9411
deploy:
restart_policy: # bad workaround, just to simplify the demo.
condition: on-failure
prometheus:
image: prom/prometheus
volumes:
- ./config/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
redis:
image: redis
ports:
- 6379:6379
collector-gateway:
image: otel/opentelemetry-collector-contrib
volumes:
- ./config/collector-gateway.yml:/etc/otel-collector-config.yaml
command: ["--config=/etc/otel-collector-config.yaml"]
ports:
- "1888:1888" # pprof extension
- "8888:8888" # Prometheus metrics exposed by the collector
- "8889:8889" # Prometheus exporter metrics
- "13133:13133" # health_check extension
- "4320:4320" # OTLP gRPC receiver
- "4319:4319" # OTLP HTTP receiver
- "55670:55679" # zpages extension
collector-agent:
image: otel/opentelemetry-collector:0.29.0
volumes:
- ./config/collector-agent.yml:/etc/otel-collector-config.yaml
command: ["--config=/etc/otel-collector-config.yaml"]
ports:
# - "1888:1888" # pprof extension
# - "8888:8888" # Prometheus metrics exposed by the collector
# - "8889:8889" # Prometheus exporter metrics
# - "13133:13133" # health_check extension
- "4318:4318" # OTLP HTTP receiver
# - "55670:55679" # zpages extension