<commit_before>web:
  build: .
  links:
   - mongo:db #An entry with the alias' name will be created in /etc/hosts inside containers for this service, e.g:
  ports:
   - "80:9000"
  environment:
   - MONGOLAB_URI=mongodb://db:27017/easydownload-dev
mongo:
  image: mongo:latest
  expose: # Expose ports without publishing them to the host machine - they'll only be accessible to linked services.
   - "16888:27017"
   - "28017"

crawler:
  image: easydownload_web:latest
  links:
     - mongo:db #An entry with the alias' name will be created in /etc/hosts inside containers for this service, e.g:
  environment:
     - MONGOLAB_URI=mongodb://db:27017/easydownload-dev
     - ITEM_CRON=0 */5 * * * *
     - THING_CRON=0 */10 * * * *
  command: node server/crawler.js
<commit_msg> Use external volumn for db<commit_after>web:
  build: .
  links:
   - mongo:db #An entry with the alias' name will be created in /etc/hosts inside containers for this service, e.g:
  ports:
   - "80:9000"
  environment:
   - MONGOLAB_URI=mongodb://db:27017/easydownload-dev
mongo:
  image: mongo:latest
  ports:
   - "16888:27017"
  volumes:
   - /mnt/ext/data:/data/db
  expose: # Expose ports without publishing them to the host machine - they'll only be accessible to linked services.
   - "27017"
   - "28017"

crawler:
  image: easydownload_web:latest
  links:
     - mongo:db #An entry with the alias' name will be created in /etc/hosts inside containers for this service, e.g:
  environment:
     - MONGOLAB_URI=mongodb://db:27017/easydownload-dev
     - ITEM_CRON=0 */5 * * * *
     - THING_CRON=0 */10 * * * *
  command: node server/crawler.js

{'fraction_non_alphanumeric': 0.11267605633802817, 'fraction_numerical': 0.04715248009797918, 'mean_word_length': 3.115869017632242, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4357195', 'n_tokens_mistral': 631, 'n_tokens_neox': 575, 'n_words': 165}