This issue got fixed after setting the COMPOSE_CONVERT_WINDOWS_PATHS=0
You can add that into a .env file in the directory where your docker-compose.yaml is located.
For a quick test, you can add that into your $PATH with $env:COMPOSE_CONVERT_WINDOWS_PATHS="0"