<commit_before>version: '2'
services:
  zookeeper:
    image: zookeeper
    restart: always
    ports:
      - "2181"
    environment:
      ZOO_MY_ID: 1
      ZOO_SERVERS: server.1=zoo1:2888:3888

  nifi:
    build: ./nifi
    image: nifi
    environment:
      - EXCLUDE_PORTS=8081,8082
        #Used by ListenTCP or other processors. Depends on the data flow.
      - TCP_PORTS=9001
      - NIFI_HOME=/opt/nifi
    depends_on:
      - zookeeper
  
  lb-nifi:
    image: dockercloud/haproxy
    links:
      - nifi
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - "80:80"
      - "9001:9001"
  
  kafka:
    build: ./kafka
    image: kafka
    ports:
      - "9092"
    depends_on:
      - zookeeper
 
  portainer:
    image: portainer/portainer
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - "9000:9000"<commit_msg>Added zkweb to monitor zookeeper<commit_after>version: '2'
services:
  zookeeper:
    image: zookeeper
    restart: always
    ports:
      - "2181"
    environment:
      ZOO_MY_ID: 1
      ZOO_SERVERS: server.1=zoo1:2888:3888

  nifi:
    build: ./nifi
    image: nifi
    environment:
      - EXCLUDE_PORTS=8081,8082
        #Used by ListenTCP or other processors. Depends on the data flow.
      - TCP_PORTS=9001
      - NIFI_HOME=/opt/nifi
    depends_on:
      - zookeeper
  
  lb-nifi:
    image: dockercloud/haproxy
    links:
      - nifi
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - "80:80"
      - "9001:9001"
  
  kafka:
    build: ./kafka
    image: kafka
    ports:
      - "9092"
    depends_on:
      - zookeeper
 
  portainer:
    image: portainer/portainer
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - "10000:9000"
  
  zk-web:
    image: tobilg/zookeeper-webui
    ports:
      - "10001:8080"
    environment:
      - USER=admin
      - PASSWORD=<PASSWORD>
      - ZK_DEFAULT_NODE=zookeeper:2181
    depends_on:
      - zookeeper
{'fraction_non_alphanumeric': 0.10756972111553785, 'fraction_numerical': 0.05876494023904383, 'mean_word_length': 1.8782234957020056, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6567703', 'n_tokens_mistral': 852, 'n_tokens_neox': 777, 'n_words': 140}