-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-local.yml
More file actions
41 lines (37 loc) · 943 Bytes
/
docker-compose-local.yml
File metadata and controls
41 lines (37 loc) · 943 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
31
32
33
34
35
36
37
38
39
40
41
version: '3.8'
networks:
dev_network:
driver: bridge # external 제거
services:
zookeeper:
image: bitnami/zookeeper:latest
container_name: zookeeper
environment:
ALLOW_ANONYMOUS_LOGIN: "yes"
ports:
- "2181:2181"
networks:
- dev_network
kafka:
image: wurstmeister/kafka:latest
container_name: kafka
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_LISTENERS: INSIDE://kafka:9093,OUTSIDE://localhost:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT
KAFKA_LISTENERS: INSIDE://0.0.0.0:9093,OUTSIDE://0.0.0.0:9092
KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE
ports:
- "9093:9093"
- "9092:9092"
depends_on:
- zookeeper
networks:
- dev_network
redis:
image: redis:latest
container_name: redis_dev
ports:
- "6379:6379"
networks:
- dev_network