Skip to content

Local development environment with NGINX, PHP and MySQL with Docker

Notifications You must be signed in to change notification settings

ChrisDoernen/docker-lnmp-devenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Local webdevelopment environment

This lets you develop locally with a webserver (NGINX), PHP and MySQL.

Build the PHP image

docker build -t php .

Create nginx/nginx.conf and php/php-fpm.conf in the respective folders.

Start the containers

docker-compose up -d

Stop

docker-compose down

Restart a single service

docker-compose restart nginx

About

Local development environment with NGINX, PHP and MySQL with Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published