Open vrgfa opened 6 years ago
Hi Ferenc, Thanks for this report, I didn't implement it because I'm trying to understand why to use the docker-compose-dev.yml. On Mac, I don't see a performance issue because I use docker-sync.yml. Seems like the docker-compose-dev.yml is used just to override the docker-compose.yml when necessary, am I wrong?
Hi Rafael, Oh, I see where the confusion lies now - the docker-compose.yml in your mac branch has the content of the docker-compose-dev.yml already merged with it: volumes:
Thanks for your thoughts, I'll test it to implement in production or in a future beta branch.
In the mac/windows version of the start script the following changes seem to be needed to use the docker-sync volume properly: .... docker-sync start && \ docker-compose up -d && \ .... docker-sync start && \ docker-compose -f docker-compose.yml -f docker-compose-dev.yml up -d && \ .... If "docker-sync-stack start" is used as described in https://github.com/EugenMayer/docker-sync/wiki/Keep-your-docker-compose.yml-portable, it picks up docker-compose-dev.yml, otherwise the setup seems to lack docker-compose-dev.yml and it all ends up with a native - and quite slow - volume mount.