Run apache container linked to mongo and pgsql containers is slow

Expected behavior

Start the three containers and have responses in less than 2 seconds

Actual behavior

Responses are being sent in about 30 seconds

Information

I Have three containers: postgresql, mongodb and a apache linked to both of those. On the web container, I have a volume mounted with a symfony app. The symfony app is absolutely slow.

I think this is due to the file system mount, I have yet to find a solution for this. I am also running most of my Symfony apps in Docker and right now I use https://github.com/codekitchen/dinghy instead of the Docker app. I have read that since Docker app 1.11 it should support NFS, but I have no clue on how to set it up correctly.

With the update I received today, it improved a lot performance! But request’s still are about 7 secs.