<commit_before>parse-server:
  image: yongjhih/parse-server
  ports:
    - "1337:1337"
  environment:
      DATABASE_URI: $DATABASE_URI
      APP_ID: $APP_ID
      MASTER_KEY: $MASTER_KEY
      FILE_KEY: $FILE_KEY
  links:
    - mongo
mongo:
  image: mongo
  ports:
    - "27017:27017"
#  volumes_from:
#    - mongo-data
#  command: "--smallfiles --logpath=/dev/null --setParameter failIndexKeyTooLong=false --rest --auth"
  command: "--smallfiles --logpath=/dev/null --setParameter failIndexKeyTooLong=false"
#mongo-data:
#  image: mongo
#  volumes:
#    - /data/db
#  command: "/bin/true"
<commit_msg>Fix #2: Persistent data with volume container<commit_after>parse-server:
  image: yongjhih/parse-server
  ports:
    - "1337:1337"
  environment:
      DATABASE_URI: $DATABASE_URI
      APP_ID: $APP_ID
      MASTER_KEY: $MASTER_KEY
      FILE_KEY: $FILE_KEY
  links:
    - mongo
mongo:
  image: mongo
  ports:
    - "27017:27017"
  volumes_from:
    - mongo-data
#  command: "--smallfiles --logpath=/dev/null --setParameter failIndexKeyTooLong=false --rest --auth"
  command: "--smallfiles --logpath=/dev/null --setParameter failIndexKeyTooLong=false"
# ref. http://www.diogogmt.com/running-mongodb-with-docker-and-compose/
mongo-data:
  image: mongo
  volumes:
    - /data/db
  command: "--break-mongo"

{'fraction_non_alphanumeric': 0.13618974751338944, 'fraction_numerical': 0.028309104820198928, 'mean_word_length': 3.074766355140187, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '762822', 'n_tokens_mistral': 523, 'n_tokens_neox': 496, 'n_words': 92}