diff --git a/docker-compose.yaml b/docker-compose.yaml index c4183aeb1..3168b2e09 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -73,7 +73,7 @@ services: TZ: Asia/Shanghai KAFKA_BROKER_ID: 0 KAFKA_ZOOKEEPER_CONNECT: 127.0.0.1:2181 - KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://127.0.0.1:9092 + KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://127.0.0.1:9092,OUTSIDE://localhost:9093 KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9092 network_mode: "host" depends_on: