A Docker PHP development environment that facilitates running PHP applications on Docker
- git
- composer
- docker
- docker-compose
$ git clone https://github.com/alexberce/docker-env.git
$ cp .env-example .env
Change the variables from the .env file to match your configuration
$ docker-compose up
$ cd app && composer install
Commands:
$ docker-compose ps
$ docker-compose stop
$ docker-compose stop {container-name}
$ docker-compose down
$ docker-compose exec {container-name} bash
Note:
Apache will serve the files from /app/public directory