docker-compose example
nicolas-piquerez opened this issue · comments
Nicolas PIQUEREZ commented
Hello,
Could you provide an example of docker-compose file to simplify the command to start docker ?
I was thinking a docker-compose (and eventually a .env) for
- vhosts (project-a.docker, project-b.docker)
- setup projects in right folder : ./project-a => /var/www/php56/project-a and ./project-b => /var/www/php7.0/project-b
Damien Fa commented
Hello,
Same needs here, I would like to make it work with "docker-compose" ... Any help ?
Eugene Sia commented
Hi there, you can refer to my blog on http://eugenesia.co.uk/2017/07/php-development-environment-with-docker-compose/
It shows how you can create a PHP development environment with Docker Compose and PHPFarm, using different PHP versions.