title: How do I set the path.repo in Docker compose 3?
body: <p>I have the following Docker-compose 3 file:</p>
  
  <pre><code>version: '3'
  services:
    elasticsearch:
      image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.2.4
      container_name: elasticsearch
      ...
      ...
      volumes:
        - /path/to/elasticsearch:/usr/share/elasticsearch/data
        - /path/to/elasticsearch/backup:/opt/elasticsearch/backup
      ports:
        - 9200:9200
      networks:
        - elasticnetwork
  </code></pre>
  
  <p>So, I've set my path.repo to /path/to/elasticsearch/backup. However, running curl <a href="http://127.0.0.1:9200/_nodes/?pretty" rel="noreferrer">http://127.0.0.1:9200/_nodes/?pretty</a> results in no path.repo:</p>
  
  <pre><code>"settings" : {
          ...
          "path" : {
            "logs" : "/usr/share/elasticsearch/logs",
            "home" : "/usr/share/elasticsearch"
          },
          ...
        },
  </code></pre>
  
  <p>I'm expecting to see <code>"repo" : ["/opt/elasticsearch/backup"]</code> in the path.</p>