<commit_before>version: "3"

services:

  mongodb:
    container_name: observatory_mongo
    image: mongo
    ports:
      - "27017:27017"

  mongo-seed:
    container_name: observatory_mongo_seed
    build:
      context: ./docker
      dockerfile: Dockerfile-MongoSeed
    links:
      - mongodb
    depends_on:
      - mongodb

  mongo_admin:
    container_name: observatory_mongo_admin
    image: mongo-express
    links:
      - mongodb:mongo
    ports:
      - "8081:8081"
    depends_on:
      - mongodb<commit_msg>Added restart_policy to MongoDB docker container in compose file<commit_after>version: "3"

services:

  mongodb:
    container_name: observatory_mongo
    image: mongo
    ports:
      - "27017:27017"

  mongo-seed:
    container_name: observatory_mongo_seed
    build:
      context: ./docker
      dockerfile: Dockerfile-MongoSeed
    links:
      - mongodb
    depends_on:
      - mongodb
    deploy:
      restart_policy: any

  mongo_admin:
    container_name: observatory_mongo_admin
    image: mongo-express
    links:
      - mongodb:mongo
    ports:
      - "8081:8081"
    depends_on:
      - mongodb
{'fraction_non_alphanumeric': 0.07590467784642542, 'fraction_numerical': 0.03353927625772286, 'mean_word_length': 2.4156626506024095, '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': '6111552', 'n_tokens_mistral': 428, 'n_tokens_neox': 387, 'n_words': 76}