<commit_before>beat:
  build: .
  links:
    - apache
    - elasticsearch
    - mysql
    - redis
  environment:
    - APACHE_HOST=http://apache/
    - APACHE_PORT=80
    - REDIS_HOST=redis
    - REDIS_PORT=6379
    - MYSQL_DSN=root:test@tcp(mysql:3306)/
    - MYSQL_HOST=mysql
    - MYSQL_PORT=3306
    - TEST_ENVIRONMENT=false
  working_dir: /go/src/github.com/elastic/beats/metricbeat
  volumes:
    - ..:/go/src/github.com/elastic/beats/
  command: make
  entrypoint: /go/src/github.com/elastic/beats/metricbeat/docker-entrypoint.sh
elasticsearch:
  image: elasticsearch:2.2.0
  command: elasticsearch -Des.network.host=0.0.0.0
<commit_msg>Set minimum_master_nodes in the metricbeat compose file<commit_after>beat:
  build: .
  links:
    - apache
    - elasticsearch
    - mysql
    - redis
  environment:
    - APACHE_HOST=http://apache/
    - APACHE_PORT=80
    - REDIS_HOST=redis
    - REDIS_PORT=6379
    - MYSQL_DSN=root:test@tcp(mysql:3306)/
    - MYSQL_HOST=mysql
    - MYSQL_PORT=3306
    - TEST_ENVIRONMENT=false
  working_dir: /go/src/github.com/elastic/beats/metricbeat
  volumes:
    - ..:/go/src/github.com/elastic/beats/
  command: make
  entrypoint: /go/src/github.com/elastic/beats/metricbeat/docker-entrypoint.sh
elasticsearch:
  image: elasticsearch:2.2.0
  command: elasticsearch -Des.network.host=0.0.0.0 -Ees.discovery.zen.minimum_master_nodes=1

{'fraction_non_alphanumeric': 0.12463556851311954, 'fraction_numerical': 0.03134110787172012, 'mean_word_length': 2.991279069767442, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7531571', 'n_tokens_mistral': 550, 'n_tokens_neox': 530, 'n_words': 67}