This question still ranks high on search engines, but the answer is here: Docker-compose prepends directory name to named volumes
Share and learn in the Docker community.
This question still ranks high on search engines, but the answer is here: Docker-compose prepends directory name to named volumes