Docker-Compose Volumes Mount does not work

Hi,

I’m using docker and docker-compose for Windows 10. The Versions are:
Docker: 18.06.0-ce
Docker-Compose: 1.22.0, build f46880fe

Now i’m using the following docker-compose file:

version: “2”

services:
loraserver:
image: loraserver/loraserver:2
volumes:
- ./configuration/loraserver:/etc/loraserver

appserver:
image: loraserver/lora-app-server:2
ports:
- 8080:8080
volumes:
- ./configuration/lora-app-server:/etc/lora-app-server

postgresql:
image: postgres:9.6-alpine
ports:
- 5432
volumes:
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
- ./data/postgresql:/var/lib/postgresql/data

redis:
ports:
- 6379
image: redis:4-alpine
volumes:
- ./data/redis:/data

mosquitto:
image: eclipse-mosquitto
ports:
- 1883:1883

When starting Docker Toolbox and trying to compose the following Docker compose file by giving the command “docker-compose up” the volumes mount for the Images Loraserver and Lora-app-Server seem to be not working. These application fail to acces the mounted files.

  • Is there any known issue with this on Docker for Windows?
  • Are there any different ways to mount files to an Image?
  • Any hints on how to check that volumes mount work with any other Image/application?

Many thanks in Advance for any hints.