How to run php project with Docker CE
Docker installation is required, see the official installation docs.
Donwload using git
$ git clone https://github.com/migueabellan/docker-php.git
Create a .env
$ cp .env.dist .env
Build and run container
$ docker-compose build
$ docker-compose up -d
Install with composer
$ docker-compose run phpfpm composer install
Access project
http://localhost:1180
Units tests
$ docker-compose run phpfpm ./vendor/bin/phpunit ./tests