<commit_before># This is only meant to be used for testing on travis-ci.org
version: "2"

services:
  db:
    image: mysql:5.6
    container_name: db
    command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci
    environment:
      MYSQL_ROOT_PASSWORD: ""
      MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
      MYSQL_USER: "ecomm001"
      MYSQL_PASSWORD: "password"
      MYSQL_DATABASE: "ecommerce"
  ecommerce:
    image: edxops/ecommerce:test
    container_name: ecommerce_testing
    build: .
    volumes:
      - ..:/edx/app/ecommerce/ecommerce
      - $HOME/.cache/pip:/edx/app/ecommerce/.cache/pip
    # The docker container produced from configuration.git does not currently
    # run and expose a port for ecommerce.  This means that we need to run some
    # command that keeps the ecommerce container alive while we run tests on it.
    # We have not yet standardized on an init replacement which could be used instead.<commit_msg>Update docker-compose to not include node_module<commit_after># This is only meant to be used for testing on travis-ci.org
version: "2"

services:
  db:
    image: mysql:5.6
    container_name: db
    command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci
    environment:
      MYSQL_ROOT_PASSWORD: ""
      MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
      MYSQL_USER: "ecomm001"
      MYSQL_PASSWORD: "password"
      MYSQL_DATABASE: "ecommerce"
  ecommerce:
    image: edxops/ecommerce:test
    container_name: ecommerce_testing
    build: .
    volumes:
      - ..:/edx/app/ecommerce/ecommerce
      - $HOME/.cache/pip:/edx/app/ecommerce/.cache/pip
      - /edx/app/ecommerce/ecommerce/node_modules
    # The docker container produced from configuration.git does not currently
    # run and expose a port for ecommerce.  This means that we need to run some
    # command that keeps the ecommerce container alive while we run tests on it.
    # We have not yet standardized on an init replacement which could be used instead.
{'fraction_non_alphanumeric': 0.08045977011494253, 'fraction_numerical': 0.0079960019990005, 'mean_word_length': 3.1621621621621623, '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': '1986808', 'n_tokens_mistral': 631, 'n_tokens_neox': 625, 'n_words': 193}