diff --git a/docker-compose.yml b/docker-compose.yml index aa4d1da..7eb3995 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,6 +29,15 @@ services: /bin/bash -c "redis-server /usr/local/etc/redis/redis.conf" networks: - app + austin-zookeeper: + image: wurstmeister/zookeeper + container_name: austin-zookeeper + volumes: + - "/etc/localtime:/etc/localtime" + ports: + - "2181:2181" + networks: + - app austin-kafka: image: wurstmeister/kafka container_name: austin-kafka @@ -38,22 +47,13 @@ services: KAFKA_BROKER_ID: 0 KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://austin-kafka:9092 KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9092 - KAFKA_ZOOKEEPER_CONNECT: austin-zookepper:2181 + KAFKA_ZOOKEEPER_CONNECT: austin-zookeeper:2181 KAFKA_CREATE_TOPICS: "austinBusiness:1:1,austinRecall:1:1,austinTraceLog:1:1" - KAFKA_HEAP_OPTS: -Xmx256M -Xms256M + KAFKA_HEAP_OPTS: -Xmx512M -Xms256M ports: - "9092:9092" depends_on: - - austin-zookepper - networks: - - app - austin-zookepper: - image: wurstmeister/zookeeper - container_name: austin-zookepper - volumes: - - "/etc/localtime:/etc/localtime" - ports: - - "2181:2181" + - austin-zookeeper networks: - app jobmanager: