Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 402 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 402 Bytes

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