Skip to content

beSergiop/docker-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Docker PHP development environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages