<commit_before>version: '2.0'
services:
  mongodb:
    image: mongo:3.2.17
    environment:
      - MONGO_DATA_DIR=/data/db
      - MONGO_LOG_DIR=/dev/null
    volumes:
      - ./data/db:/data/db
    ports:
      - 27017:27017
  umdio:
    build: .
    links:
      - mongodb
    environment:
      - MONGO_RUBY_DRIVER_HOST=mongodb
    volumes:
      - ./:/umdio
    ports:
      - 3000:3000
    command: bundle exec rake up<commit_msg>Explicitly put mongo port in docker-compose (#76)<commit_after>version: '2.0'
services:
  mongodb:
    image: mongo:3.2.17
    command: mongod --port 27017
    environment:
      - MONGO_DATA_DIR=/data/db
      - MONGO_LOG_DIR=/dev/null
    volumes:
      - ./data/db:/data/db
    ports:
      - 27017:27017
  umdio:
    build: .
    links:
      - mongodb
    environment:
      - MONGO_RUBY_DRIVER_HOST=mongodb
      - MONGO_RUBY_DRIVER_PORT=27017
    volumes:
      - ./:/umdio
    ports:
      - 3000:3000
    command: bundle exec rake up
{'fraction_non_alphanumeric': 0.11349693251533742, 'fraction_numerical': 0.06134969325153374, 'mean_word_length': 1.957703927492447, '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': '3053372', 'n_tokens_mistral': 431, 'n_tokens_neox': 369, 'n_words': 66}