<commit_before>version: "2.0"
services:
  nginx:
    build:
      args:
        DOMAIN_NAME: www.example.com
      context: nginx/.
      dockerfile: Dockerfile
    links:
      - hospitalrun
    ports:
      - "8055:80"
      - "443:443"
    image: hospitalrun_nginx
    volumes:
      - ./data/nginx/letsencrypt:/etc/letsencrypt

  hospitalrun:
    container_name: hospitalrun
    build: .
    image: hospitalrun
    links:
      - couchdb
      - elasticsearch
      - logstash
    depends_on:
      - couchdb
      - elasticsearch
      - logstash
    container_name: hospitalrun

  couchdb:
    container_name: couchdb_hr
    image: couchdb:1.6
    volumes:
      - ./data/couchdb:/usr/local/var/lib/couchdb
    ports:
      - "5985:5984"

  elasticsearch:
    container_name: elasticsearch_hr
    image: docker.elastic.co/elasticsearch/elasticsearch:5.3.1
    volumes:
      - ./data/elasticsearch:/usr/share/elasticsearch/data
    ports:
      - "9201:9200"
    environment:
      - http.host=0.0.0.0
      - transport.host=127.0.0.1
      - cluster.name=docker-cluster
      - bootstrap.memory_lock=true
      - ES_JAVA_OPTS=-Xms512m -Xmx512m
    ulimits:
      memlock:
        soft: -1
        hard: -1<commit_msg>Update couchdb to 1.7.1 (#81)<commit_after>version: "2.0"
services:
  nginx:
    build:
      args:
        DOMAIN_NAME: www.example.com
      context: nginx/.
      dockerfile: Dockerfile
    links:
      - hospitalrun
    ports:
      - "8055:80"
      - "443:443"
    image: hospitalrun_nginx
    volumes:
      - ./data/nginx/letsencrypt:/etc/letsencrypt

  hospitalrun:
    container_name: hospitalrun
    build: .
    image: hospitalrun
    links:
      - couchdb
      - elasticsearch
      - logstash
    depends_on:
      - couchdb
      - elasticsearch
      - logstash
    container_name: hospitalrun

  couchdb:
    container_name: couchdb_hr
    image: couchdb:1.7.1
    volumes:
      - ./data/couchdb:/usr/local/var/lib/couchdb
    ports:
      - "5985:5984"

  elasticsearch:
    container_name: elasticsearch_hr
    image: docker.elastic.co/elasticsearch/elasticsearch:5.3.1
    volumes:
      - ./data/elasticsearch:/usr/share/elasticsearch/data
    ports:
      - "9201:9200"
    environment:
      - http.host=0.0.0.0
      - transport.host=127.0.0.1
      - cluster.name=docker-cluster
      - bootstrap.memory_lock=true
      - ES_JAVA_OPTS=-Xms512m -Xmx512m
    ulimits:
      memlock:
        soft: -1
        hard: -1
{'fraction_non_alphanumeric': 0.1070559610705596, 'fraction_numerical': 0.0454176804541768, 'mean_word_length': 1.9651442307692308, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2051128', 'n_tokens_mistral': 923, 'n_tokens_neox': 864, 'n_words': 139}