<commit_before>version: '3'
services:
  api:
    build:
      context: .
      dockerfile: ./Dockerfile
    container_name: aclu-api
    environment:
      - MONGO_HOST=${MONGO_HOST}
      - MONGO_PORT=${MONGO_PORT}
      - MONGO_USERNAME=${MONGO_USERNAME}
      - MONGO_PASSWORD=${<PASSWORD>}
      - MONGO_DBNAME=${MONGO_DBNAME}
    ports:
      - "50050:50050"
    volumes:
      - ./api:/src/api
    links:
      - db
  db:
    image: mongo:3.5.11
    ports:
      - "27017"
    container_name: aclu-db
    logging:
      driver: none<commit_msg>Comment out local db container in favor of hosted mongodb<commit_after>version: '3'
services:
  api:
    build:
      context: .
      dockerfile: ./Dockerfile
    container_name: aclu-api
    environment:
      - MONGO_HOST=${MONGO_HOST}
      - MONGO_PORT=${MONGO_PORT}
      - MONGO_USERNAME=${MONGO_USERNAME}
      - MONGO_PASSWORD=${<PASSWORD>}
      - MONGO_DBNAME=${MONGO_DBNAME}
    ports:
      - "50050:50050"
    volumes:
      - ./api:/src/api
  #   links:
  #     - db
  # db:
  #   image: mongo:3.5.11
  #   ports:
  #     - "27017"
  #   container_name: aclu-db
  #   logging:
  #     driver: none
{'fraction_non_alphanumeric': 0.12994836488812392, 'fraction_numerical': 0.03442340791738382, 'mean_word_length': 2.1179624664879357, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4708018', 'n_tokens_mistral': 481, 'n_tokens_neox': 439, 'n_words': 72}