adrianoramos / php-dev-in-docker

PHP development environment in Docker: PHP-FPM, Nginx, MySQL and phpMyAdmin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP Dev in Docker

A quick way to build a PHP development environment using Docker: PHP-FPM, Nginx, MySQL and phpMyAdmin.

What's included

Requirements

Clone, Build and Run

git clone https://github.com/adrianoramos/php-dev-in-docker.git
cd php-dev-in-docker/
docker-compose build
docker-compose up -d

Check out localhost or 127.0.0.1 in your browser or access the IP address specified in your Docker Machine (Windows and Mac only). You must see the PHP info page located in the src directory.

To access phpMyAdmin open the 8080 port in your browser, eg: localhost:8080. Log in using root as username and password.

Stop

docker-compose stop

Kill

docker-compose kill

About

PHP development environment in Docker: PHP-FPM, Nginx, MySQL and phpMyAdmin


Languages

Language:Dockerfile 98.8%Language:PHP 1.2%