-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
88 lines (88 loc) · 2.26 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: '3'
services:
zookeeper:
image: confluentinc/cp-zookeeper:5.4.2
container_name: zookeeper
environment:
- ZOOKEEPER_CLIENT_PORT=2181
kafka:
image: confluentinc/cp-kafka:5.4.2
container_name: kafka
ports:
- 9092:9092
depends_on:
- zookeeper
environment:
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:29092,PLAINTEXT_HOST://localhost:9092
- KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
- KAFKA_INTER_BROKER_LISTENER_NAME=PLAINTEXT
- KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
- KAFKA_AUTO_CREATE_TOPICS_ENABLE=true
kafka-generator:
build: ./data-generator
image: data-generator:latest
container_name: kafka-generator
depends_on:
- kafka
sql-client:
build: ./client-image
image: client-image:latest
container_name: flink-sql-client
depends_on:
- kafka
- jobmanager
- minio
environment:
FLINK_JOBMANAGER_HOST: jobmanager
ZOOKEEPER_CONNECT: zookeeper
KAFKA_BOOTSTRAP: kafka
jobmanager:
image: flink:1.12.0-scala_2.11
container_name: flink-jobmanager
ports:
- 8081:8081
command: jobmanager
environment:
- JOB_MANAGER_RPC_ADDRESS=jobmanager
taskmanager:
image: flink:1.12.0-scala_2.11
container_name: flink-taskmanager
depends_on:
- jobmanager
command: taskmanager
environment:
- JOB_MANAGER_RPC_ADDRESS=jobmanager
minio:
image: minio/minio:latest
container_name: minio
environment:
- MINIO_ACCESS_KEY=dummy-access-key
- MINIO_SECRET_KEY=dummy-secret-key
expose:
- "80"
ports:
- 80:80
volumes:
- ./minio:/export
command: server --address ":80" /export
pinot:
image: apachepinot/pinot:0.5.0
container_name: pinot
command: ["QuickStart", "-type", "STREAM"]
restart: unless-stopped
ports:
- 8000:8000
- 9000:9000
volumes:
- ./pinot/table_config.json:/table_config.json
- ./pinot/schema_config.json:/schema_config.json
depends_on:
- kafka
superset:
image: apachepinot/pinot-superset
container_name: superset
ports:
- 8088:8080
depends_on:
- pinot