Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 846 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 846 Bytes

Docker PHP development environment.

nginx php7.2

These instructions will running on your local machine a dockerized nginx + PHP7.2 environment.

Prerequisites

As a prerequisite, be sure to install Docker Compose if you have not already done so.

Initialize environment

We can build the application using docker-compose up. This will show the images being built and starting.

docker-compose -f docker.dev.yml up

Connect to container environment

The docker exec command runs a new command in a running container.

docker exec -ti docker_php bash

You can access to your test application via http://localhost:8080.