<commit_before>version: "2"
services:
  mongo3:
    hostname: mongo3
    image: mongo:3.4
    mem_limit: 128m
    ports:
      - "27018:27017"
      - "28018:28017"
    restart: always
    volumes:
      - ./data/rs0-3:/data/db
    entrypoint: [ "mongod", "--replSet", "rs0", "--nojournal", "--smallfiles", "--rest", "--noprealloc" ]
  mongo2:
    hostname: mongo2
    image: mongo:3.4
    mem_limit: 256m
    ports:
      - "27019:27017"
      - "28019:28017"
    restart: always
    volumes:
      - ./data/rs0-2:/data/db
    entrypoint: [ "mongod", "--replSet", "rs0", "--journal", "--smallfiles", "--rest" ]
  mongo1:
    hostname: mongo1
    image: mongo:3.4
    mem_limit: 256m
    ports:
      - "27017:27017"
      - "28017:28017"
    links:
      - "mongo2:mongo2"
      - "mongo3:mongo3"
    restart: always
    volumes:
      - ./data/rs0-1:/data/db
    entrypoint: [ "mongod", "--replSet", "rs0", "--journal", "--smallfiles", "--rest" ]
  # Configures the MongoDB replicaset
  mongosetup:
    image: mongo:3.4
    mem_limit: 128m
    links:
      - "mongo1:mongo1"
      - "mongo2:mongo2"
      - "mongo3:mongo3"
    volumes:
      - ./scripts:/scripts
    entrypoint: [ "/scripts/setup.sh" ]
  # Parse-server
  parseapi:
    hostname: parseapi
    mem_limit: 128m
    build: ./parse-server
    links:
      - "mongo1:mongo1"
      - "mongo2:mongo2"
      - "mongo3:mongo3"
    ports:
      - "1337:1337"
    volumes:
      - ./parse-server/cloud:/parse/cloud
      - ./parse-server/public:/parse/public
<commit_msg>network add<commit_after>version: "2"
services:
  mongo3:
    container_name: mongo3
    image: mongo:3.4
    mem_limit: 128m
    ports:
      - "27018:27017"
      - "28018:28017"
    networks:
      - my-net
    restart: always
    volumes:
      - ./data/rs0-3:/data/db
    entrypoint: [ "mongod", "--replSet", "rs0", "--nojournal", "--smallfiles", "--rest", "--noprealloc" ]
  mongo2:
    container_name: mongo2
    image: mongo:3.4
    mem_limit: 256m
    ports:
      - "27019:27017"
      - "28019:28017"
    networks:
      - my-net
    restart: always
    volumes:
      - ./data/rs0-2:/data/db
    entrypoint: [ "mongod", "--replSet", "rs0", "--journal", "--smallfiles", "--rest" ]
  mongo1:
    container_name: mongo1
    image: mongo:3.4
    mem_limit: 256m
    ports:
      - "27017:27017"
      - "28017:28017"
    networks:
      - my-net
    restart: always
    volumes:
      - ./data/rs0-1:/data/db
    entrypoint: [ "mongod", "--replSet", "rs0", "--journal", "--smallfiles", "--rest" ]
  # Configures the MongoDB replicaset
  mongosetup:
    image: mongo:3.4
    mem_limit: 128m
    networks:
      - my-net
    volumes:
      - ./scripts:/scripts
    entrypoint: [ "/scripts/setup.sh" ]
  # Parse-server
  parseapi:
    container_name: parseapi
    mem_limit: 256m
    build: ./parse-server
    networks:
      - my-net
    ports:
      - "1337:1337"
    restart: always
    volumes:
      - ./parse-server/cloud:/parse/cloud
      - ./parse-server/public:/parse/public
networks:
  my-net:
    driver: bridge

{'fraction_non_alphanumeric': 0.16323192672554793, 'fraction_numerical': 0.07523716061498201, 'mean_word_length': 2.0488534396809572, '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': '721410', 'n_tokens_mistral': 1288, 'n_tokens_neox': 1181, 'n_words': 214}