Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
78 lines (73 loc) · 2.14 KB
/
Copy pathdocker-compose.yml
File metadata and controls
78 lines (73 loc) · 2.14 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
77
78
services:
mysql:
image: mysql:8.0
container_name: mysql
ports:
- "3307:3306"
env_file:
- .env
volumes:
- ./mysql/my.cnf:/etc/mysql/conf.d/my.cnf
- mysql-data:/var/lib/mysql
broker:
image: apache/kafka:latest
container_name: broker
hostname: broker
ports:
- "9092:9092"
environment:
KAFKA_NODE_ID: 1
KAFKA_PROCESS_ROLES: broker,controller
KAFKA_CONTROLLER_QUORUM_VOTERS: 1@broker:29093
KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER
KAFKA_LISTENERS: PLAINTEXT://broker:29092,CONTROLLER://broker:29093,PLAINTEXT_HOST://0.0.0.0:9092
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://broker:29092,PLAINTEXT_HOST://localhost:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT,CONTROLLER:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
wiremock:
image: wiremock/wiremock:3.3.1
container_name: mock-pg
ports:
- "9099:8080"
volumes:
- ./wiremock:/home/wiremock
command:
- --verbose
kafka-ui:
image: provectuslabs/kafka-ui:latest
container_name: kafka-ui
ports:
- "18080:8080"
environment:
KAFKA_CLUSTERS_0_NAME: local
KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: broker:29092
KAFKA_CLUSTERS_0_KAFKACONNECT_0_NAME: debezium
KAFKA_CLUSTERS_0_KAFKACONNECT_0_ADDRESS: http://kafka-connect:8083
depends_on:
- broker
- kafka-connect
kafka-connect:
image: quay.io/debezium/connect:2.7
container_name: kafka-connect
ports:
- "8083:8083"
environment:
BOOTSTRAP_SERVERS: broker:29092
GROUP_ID: edps-connect
CONFIG_STORAGE_TOPIC: edps.connect.configs
OFFSET_STORAGE_TOPIC: edps.connect.offsets
STATUS_STORAGE_TOPIC: edps.connect.statuses
depends_on:
- broker
- mysql
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "16686:16686"
- "4318:4318"
volumes:
mysql-data: