compose file update

pull/455/head
Gordon 3 years ago committed by Xinwei Xiong(cubxxw-openim)
parent 52461c09b5
commit bbf125b351

@ -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