Making a docker-compose solution fully portable?

Hello.
I have a solution consisting of a web client and a web api which I can run in PowerShell with Docker Desktop and docker-compose. I have pushed the api and client images to my docker repo. However, in PowerShell I must still cd to the solution folder where the .yml, .override.yml and other files are located. This means the solution is not fully portable. Why can’t I push all .yml and other files to my docker repo and make the solution fully portable? Today it’s only semi portable due to the file dependencies on the folder.

By the way, this is the solution Im talking about:

Thanks in advance, Gunnar