Example of using docker-sync
for developing a symfony application on OSX.
$ cd .docker
$ docker-sync-stack start
If everything went okay, then the app should be listening on http://localhost:8500
Also, there should be 2 example endpoints available: /foo
and /todo
with static and persisted data respectively.
I tested and compared different solutions for running symfony in docker on a Mac, these are the average results
Docker for symphony
Default volume sync ~800ms
Docker cached flag ~300ms
Docker-sync ~50ms