splitbrain / docker-phpfarm

A Dockerfile to build an image running multiple PHP versions on Apache

Home Page:http://www.splitbrain.org/blog/2014-02/02-docker_phpfarm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-compose example

nicolas-piquerez opened this issue · comments

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

Hello,
Same needs here, I would like to make it work with "docker-compose" ... Any help ?

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.