<commit_before>{% set image = 'elasticsearch' %}
{% set tag = '2.0.0-beta2' %}
{% set force_pull = false %}

{% include 'docker-pull.sls-fragment' %}

{% set container = 'elasticsearch_container' %}
{% set ports = ["9200/tcp", "9300/tcp"] %}
{% set environment = {} %}
{% set port_bindings = {'9200/tcp': { 'HostIp': pillar['redef']['elasticsearch']['http']['binding'], 'HostPort': pillar['redef']['elasticsearch']['http']['port'] } ,
                        '9300/tcp': { 'HostIp': pillar['redef']['elasticsearch']['native']['binding'], 'HostPort': pillar['redef']['elasticsearch']['native']['port'] } } %}
{% set data_volume = { 'container': 'elasticsearch_data', 'image': 'busybox', 'tag': 'latest', 'volumes': ['/usr/share/elasticsearch/data'] } %}
{% set command = 'elasticsearch --network.host _non_loopback_' %} # https://github.com/docker-library/elasticsearch/issues/52
{% set host_volume_bindings = [ { 'host': '/vagrant/salt/redef/elasticsearch/files/elasticsearch.yml', 'container': '/usr/share/elasticsearch/config/elasticsearch.yml', 'ro': false } ] %}

{% include 'docker-run.sls-fragment' %}<commit_msg>Remove files subdir in elasticsearch salt state<commit_after>{% set image = 'elasticsearch' %}
{% set tag = '2.0.0-beta2' %}
{% set force_pull = false %}

{% include 'docker-pull.sls-fragment' %}

{% set container = 'elasticsearch_container' %}
{% set ports = ["9200/tcp", "9300/tcp"] %}
{% set environment = {} %}
{% set port_bindings = {'9200/tcp': { 'HostIp': pillar['redef']['elasticsearch']['http']['binding'], 'HostPort': pillar['redef']['elasticsearch']['http']['port'] } ,
                        '9300/tcp': { 'HostIp': pillar['redef']['elasticsearch']['native']['binding'], 'HostPort': pillar['redef']['elasticsearch']['native']['port'] } } %}
{% set data_volume = { 'container': 'elasticsearch_data', 'image': 'busybox', 'tag': 'latest', 'volumes': ['/usr/share/elasticsearch/data'] } %}
{% set command = 'elasticsearch --network.host _non_loopback_' %} # https://github.com/docker-library/elasticsearch/issues/52
{% set host_volume_bindings = [ { 'host': '/vagrant/salt/redef/elasticsearch/elasticsearch.yml', 'container': '/usr/share/elasticsearch/config/elasticsearch.yml', 'ro': false } ] %}

{% include 'docker-run.sls-fragment' %}
{'fraction_non_alphanumeric': 0.23080317740511916, 'fraction_numerical': 0.019417475728155338, 'mean_word_length': 5.440340909090909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '344221', 'n_tokens_mistral': 761, 'n_tokens_neox': 702, 'n_words': 124}