title: How to do a simple edit in elasticsearch.yml in a docker container?
body: <p>I am using <code>docker-compose</code> as in <a href="https://github.com/davidefiocco/dockerized-elasticsearch-indexer/blob/master/docker-compose.yml" rel="noreferrer">https://github.com/davidefiocco/dockerized-elasticsearch-indexer/blob/master/docker-compose.yml</a> to initialize a containerized elasticsearch index.<br />
  Now, I would like to set a larger value for <code>indices.query.bool.max_clause_count</code> than the default setting using a <code>elasticsearch.yml</code> config file (this is to run some heavy queries as in <a href="https://stackoverflow.com/questions/40275514/elasticsearch-set-max-clause-count">Elasticsearch - set max_clause_count</a>).</p>
  <p>So far I tried to add in the <code>docker-compose.yml</code> a volume with:</p>
  <pre><code>services:
     elasticsearch:
        volumes:
          - ./elasticsearch/config/elasticsearch.yml
  </code></pre>
  <p>(and variations thereof) trying to point to a <code>elasticsearch.yml</code> file (that I would like to ship with the rest of the files) with the right <code>max_clause_count</code> setting, but to no avail.</p>
  <p>Can someone point me to the right direction?</p>