-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
30 lines (27 loc) · 809 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
30 lines (27 loc) · 809 Bytes
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
version: "3.1"
services:
# airflow:
# image: airflow:latest
# volumes:
# - ./airflow:/opt/airflow
# ports:
# - "8081:8080"
# command: airflow standalone
zookeeper:
image: wurstmeister/zookeeper:latest
ports:
- "2181:2181"
kafka-broker-1:
image: wurstmeister/kafka:latest
mem_limit: '4g'
ports:
- "9092:9092"
environment:
KAFKA_BROKER_ID: 0
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_LISTENERS: PLAINTEXT://:9092
# KAFKA_LISTENERS: INSIDE://:9093,OUTSIDE://localhost:9092
# KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT
# KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE
# KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181