docker file alter

This commit is contained in:
巴拉迪维 2021-09-10 18:09:21 +08:00
parent fbd598a372
commit 8026280580
1 changed files with 0 additions and 6 deletions

View File

@ -58,8 +58,6 @@ services:
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
# volumes:
# - ${DOCKER_DATA_PATH}/zookeeper:/var/lib/zookeeper
ports:
- ${ZOOKEEPER_LOCAL_PORT}:2181
networks:
@ -74,8 +72,6 @@ services:
- zookeeper
ports:
- ${KAFKA_01_LOCAL_PORT}:29092
volumes:
- ${DOCKER_DATA_PATH}/${KAFKA_CONTAINER_01_NAME}:/var/lib/kafka
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
@ -95,8 +91,6 @@ services:
- zookeeper
ports:
- ${KAFKA_02_LOCAL_PORT}:39092
# volumes:
# - ${DOCKER_DATA_PATH}/${KAFKA_CONTAINER_02_NAME}:/var/lib/kafka
environment:
KAFKA_BROKER_ID: 2
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181