<commit_before>version: "2"

services:
  neo4j1:
    image: neo4j:enterprise
    networks:
      - cluster
    env_file:
      - ./common.env
    environment:
      - NEO4J_SERVER_ID=1
    ports:
      - 17474:7474

  neo4j2:
    image: neo4j:enterprise
    networks:
      - cluster
    env_file:
      - ./common.env
    environment:
      - NEO4J_SERVER_ID=2
    ports:
      - 27474:7474

  neo4j3:
    image: neo4j:enterprise
    networks:
      - cluster
    env_file:
      - ./common.env
    environment:
      - NEO4J_SERVER_ID=3
    ports:
      - 37474:7474

  lb:
    image: janeczku/alpine-haproxy
    networks:
      - front
      - cluster
    ports:
      - 8080:7474
    environment:
      - LOGGER=logger
      - NEO1=neo4j1
      - NEO2=neo4j2
      - NEO3=neo4j3
    volumes:
      - ./haproxy.cfg:/etc/haproxy/haproxy.cfg

  logger:
    image: lbernail/rsyslog:udp
    networks:
      - cluster
<commit_msg>change image tag<commit_after>version: "2"

services:
  neo4j1:
    image: neo4j:enterprise
    networks:
      - cluster
    env_file:
      - ./common.env
    environment:
      - NEO4J_SERVER_ID=1
    ports:
      - 17474:7474

  neo4j2:
    image: neo4j:enterprise
    networks:
      - cluster
    env_file:
      - ./common.env
    environment:
      - NEO4J_SERVER_ID=2
    ports:
      - 27474:7474

  neo4j3:
    image: neo4j:enterprise
    networks:
      - cluster
    env_file:
      - ./common.env
    environment:
      - NEO4J_SERVER_ID=3
    ports:
      - 37474:7474

  lb:
    image: janeczku/alpine-haproxy
    networks:
      - front
      - cluster
    ports:
      - 8080:7474
    environment:
      - LOGGER=logger
      - NEO1=neo4j1
      - NEO2=neo4j2
      - NEO3=neo4j3
    volumes:
      - ./haproxy.cfg:/etc/haproxy/haproxy.cfg

  logger:
    image: echinopsii/rsyslog:udp
    networks:
      - cluster

{'fraction_non_alphanumeric': 0.09672219236969372, 'fraction_numerical': 0.06448146157979581, 'mean_word_length': 1.679136690647482, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2098715', 'n_tokens_mistral': 797, 'n_tokens_neox': 739, 'n_words': 114}