compose file update

pull/232/head
Gordon 3 years ago
parent 247649ec34
commit 268e5cbdb1

@ -69,12 +69,15 @@ services:
image: wurstmeister/kafka
container_name: kafka
restart: always
ports:
- 9093:9093
environment:
TZ: Asia/Shanghai
KAFKA_BROKER_ID: 0
KAFKA_ZOOKEEPER_CONNECT: 127.0.0.1:2181
KAFKA_ADVERTISED_LISTENERS: INSIDE://127.0.0.1:9092,OUTSIDE://localhost:9093
KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9092
KAFKA_LISTENERS: INSIDE://:9092,OUTSIDE://:9093
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: "INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT"
network_mode: "host"
depends_on:
- zookeeper

Loading…
Cancel
Save