-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
76 lines (69 loc) · 1.78 KB
/
docker-compose.yml
File metadata and controls
76 lines (69 loc) · 1.78 KB
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
services:
# zookeeper:
# image: docker.io/bitnami/zookeeper:3.8
# hostname: zookeeper
# container_name: zookeeper
# ports:
# - "2181:2181"
# volumes:
# - "zookeeper_data:/bitnami"
# environment:
# - ALLOW_ANONYMOUS_LOGIN=yes
# collector:
# image: otel/opentelemetry-collector:0.72.0
# command: [ "--config=/etc/otel-collector-config.yml" ]
# volumes:
# - ./otel-config.yml:/etc/otel-collector-config.yml
# ports:
# - "4317:4317"
# depends_on:
# - jaeger
kafka:
image: 'bitnami/kafka:latest'
ports:
- '9092:9092'
environment:
- KAFKA_ENABLE_KRAFT=yes
- KAFKA_CFG_PROCESS_ROLES=broker,controller
- KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092
- KAFKA_BROKER_ID=1
- KAFKA_CFG_CONTROLLER_QUORUM_VOTERS=1@kafka:9093
- ALLOW_PLAINTEXT_LISTENER=yes
jaeger:
container_name: jaeger
image: jaegertracing/all-in-one:1.43
environment:
- COLLECTOR_OTLP_ENABLED=true
# - METRICS_STORAGE_TYPE=prometheus
ports:
- "16686:16686"
- "14250:14250"
- "4317:4317"
- "4318:4318"
service-uno:
container_name: service-uno
build: otel-uno/
ports:
- "8080:8080"
depends_on:
- kafka
service-dos:
container_name: service-dos
build: otel-dos/
ports:
- "8081:8081"
depends_on:
- kafka
service-cuatro:
container_name: service-cuatro
build: otel-cuatro/
ports:
- "8083:8083"
volumes:
kafka_data:
driver: local
# zookeeper_data:
# driver: local