<commit_before>version: '3'

services:
  app:
    build: ./
    image: root
    environment:
      PORT: 3000
      MONGODB_URI: mongodb://mongo/icu
      ELASTICSEARCH_IP: elasticsearch
    ports:
      - 3000:3000
    depends_on:
      - mongo
      - elasticsearch

  mongo:
    image: mongo:3.6
    volumes:
      - ./data/mongo:/data/db

  elasticsearch:
    image: elasticsearch:5.6
    volumes:
      - ./data/elasticsearch:/usr/share/elasticsearch/data<commit_msg>Change production mongo volume to named volume<commit_after>version: '3'

services:
  app:
    build: ./
    image: root
    environment:
      PORT: 3000
      MONGODB_URI: mongodb://mongo/icu
      ELASTICSEARCH_IP: elasticsearch
    ports:
      - 3000:3000
    depends_on:
      - mongo
      - elasticsearch

  mongo:
    image: mongo:3.6
    volumes:
      - mongodata:/data/db

  elasticsearch:
    image: elasticsearch:5.6
    volumes:
      - ./data/elasticsearch:/usr/share/elasticsearch/data

volumes:
  mongodata:
{'fraction_non_alphanumeric': 0.10330992978936811, 'fraction_numerical': 0.034102306920762285, 'mean_word_length': 2.2090032154340835, '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': '1336212', 'n_tokens_mistral': 369, 'n_tokens_neox': 346, 'n_words': 65}