<commit_before>version: "3"
services:
  test:
    build: .
    ports:
      - "35726:35726"
    container_name: gfw-subscription-api-test
    environment:
      API_GATEWAY_EXTERNAL_URL: http://127.0.0.1:9000
      API_GATEWAY_QUEUE_NAME: mail
      API_GATEWAY_QUEUE_PROVIDER: redis
      REDIS_URL: redis://redis:6379
      API_GATEWAY_URL: http://mymachine:9000
      API_TOKEN: <KEY>
      API_URL: http://mymachine:9000
      API_VERSION: v1
      CARTODB_USER: wri-01
      CT_REGISTER_MODE: auto
      CT_TOKEN: <KEY>
      CT_URL: http://controltower:9000
      FLAGSHIP_URL: http://staging.globalforestwatch.org
      HOST_IP: 127.0.0.1
      LOCAL_URL: http://mymachine:3600
      MIGRATE_URI: <migrateuri>
      MONGO_PORT_27017_TCP_ADDR: mongo
      MONGO_PORT_27017_TCP_PORT: 27017
      NODE_ENV: test
      NODE_PATH: app/src
      PORT: 35726
      REDIS_PORT_6379_TCP_ADDR: redis
    command: test
    depends_on:
      - mongo
      - redis

  redis:
    image: redis
    container_name: gfw-subscriptions-api-redis
    ports:
      - "6379"

  mongo:
    image: mongo:3.4
    container_name: gfw-subscription-mongo
    command: --smallfiles
    ports:
      - "27017"
<commit_msg>Remove container names from test file (causing problems in Jenkins build)<commit_after>version: "3"
services:
  test:
    build: .
    ports:
      - "35726:35726"
    container_name: gfw-subscription-api-test
    environment:
      API_GATEWAY_EXTERNAL_URL: http://127.0.0.1:9000
      API_GATEWAY_QUEUE_NAME: mail
      API_GATEWAY_QUEUE_PROVIDER: redis
      REDIS_URL: redis://redis:6379
      API_GATEWAY_URL: http://mymachine:9000
      API_TOKEN: <KEY>
      API_URL: http://mymachine:9000
      API_VERSION: v1
      CARTODB_USER: wri-01
      CT_REGISTER_MODE: auto
      CT_TOKEN: <KEY>
      CT_URL: http://controltower:9000
      FLAGSHIP_URL: http://staging.globalforestwatch.org
      HOST_IP: 127.0.0.1
      LOCAL_URL: http://mymachine:3600
      MIGRATE_URI: <migrateuri>
      MONGO_PORT_27017_TCP_ADDR: mongo
      MONGO_PORT_27017_TCP_PORT: 27017
      NODE_ENV: test
      NODE_PATH: app/src
      PORT: 35726
      REDIS_PORT_6379_TCP_ADDR: redis
    command: test
    depends_on:
      - mongo
      - redis

  redis:
    image: redis
    ports:
      - "6379"

  mongo:
    image: mongo:3.4
    command: --smallfiles
    ports:
      - "27017"

{'fraction_non_alphanumeric': 0.09336713138994508, 'fraction_numerical': 0.07182087029995775, 'mean_word_length': 2.472140762463343, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '1168875', 'n_tokens_mistral': 1015, 'n_tokens_neox': 918, 'n_words': 156}