Why would you want two different instances of the same project to have the same name?
Why on earth would you want to have lots of different directories that all point to the same instance? That's simply idiotic.
It means that if I run multiple instances of a compose setup, they are completely isolated from each other because they live in separate namespaces. It's a very handy feature (for example, if I'm working on 3 branches of the code, just check them out in 3 different directories etc).
Of course it has the consequence that if you move it around it's going to break things, but that's actually the idea. They should break! Because to compose they are meant to be segregated, and if they interacted it would actually be a bug.
volumes:
- ./data:/use/lib/data
I don't know why anyone would expect this to work.