-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
36 lines (35 loc) · 1011 Bytes
/
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
version: "3.4"
services:
# Kafka/Zookeeper container
divolte-kafka:
build: kafka/
environment:
ADVERTISED_HOST: divolte-kafka
LOG_RETENTION_HOURS: 1
AUTO_CREATE_TOPICS: "false"
KAFKA_CREATE_TOPICS: divolte:4:1
ADVERTISED_LISTENERS: PLAINTEXT://divolte-kafka:9092,INTERNAL://localhost:9093
LISTENERS: PLAINTEXT://0.0.0.0:9092,INTERNAL://0.0.0.0:9093
SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,INTERNAL:PLAINTEXT
INTER_BROKER: INTERNAL
# Divolte container
docker-divolte:
build: divolte/
environment:
DIVOLTE_KAFKA_BROKER_LIST: divolte-kafka:9092
ports:
- 8290:8290
- 9092:9092 #kafka broker
- 2181:2181 #Zookeeper
depends_on:
- divolte-kafka
# HDFS + Hive + Pig + PostGres
hadoop-system:
build: hadoop/build_hive_pig/
environment:
CONNECT_DIVOLTE: docker-divolte:1200
ports:
- 8088:8088 #view Hadoop Client
- 1200:1200 #divolte
depends_on:
- docker-divolte