On my windows machine i run this docker compose file:

docker-compose.yml:

```
version: '3.0'
services:
  logstash:
    image: logstash:latest
    command: -f ./etc/logstash/config/ --log.level debug
    volumes:
      - ./config/:/etc/logstash/config/
      - ./pipeline/:/etc/logstash/pipeline/

```

logstash.yml:

```
http.host: "0.0.0.0"
path.config: /etc/logstash/pipeline/logstash.conf
path.settings: /etc/logstash/config/logstash.yml

```

This gives the error:

```
Failed to fetch pipeline configuration {:message=>"No config files found: ./etc/logstash/config/. Can you make sure this path is a logstash config file?"}

```

What can be the problem? This is my directory structure on my Win10 machine:

```
/docker
  /config
    /logstash.yml
  /pipeline
    /logstash.conf

```

-- Edit

Problem solved with the next config file:

`logstash:
 image: logstash:latest
 command: -f ./etc/logstash/pipeline/
 volumes:
 - ./config/:/etc/logstash/config/
 - ./pipeline/:/etc/logstash/pipeline/`