diff --git a/server/docker-compose.yml b/server/docker-compose.yml index 5d7ef6c051..26a27a728f 100644 --- a/server/docker-compose.yml +++ b/server/docker-compose.yml @@ -16,13 +16,12 @@ services: ports: - "9092:9092" environment: - - TZ=Asia/Seoul - - KAFKA_LISTENERS: PLAINTEXT://:9092 + KAFKA_LISTENERS: PLAINTEXT://:9092 # KAFKA_ADVERTISED_HOST_NAME: localhost # TODO : 환경에 맞게 ip 변경 ex) 127.0.0.1 - - KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 # kafka가 zookeeper에 커넥션하기 위한 대상을 지정 - - KAFKA_CREATE_TOPICS: | - "start-searching": - replication-factor :1 + KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 # kafka가 zookeeper에 커넥션하기 위한 대상을 지정 + KAFKA_CREATE_TOPICS: | + "start-searching": + replication-factor :1 volumes: - /var/run/docker.sock:/var/run/docker.sock