Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Docker setup for PHP applications using PHP7-FPM and Nginx

Instructions

  1. Open up http://play-with-docker.com on your browser

  2. Checkout the repository

  1. Run Docker Compose CLI
  • Run docker-compose up
  1. Navigate to the below URL
  • Navigate to localhost:8080

That's it! You have your local PHP setup using Docker

This displays an image of minions on the web browser.

Adding a Simple Website

  1. Clone this simple PHP Web Page under the dockerised-php folder
  1. Remove the code folder and copy all contents under new code folder
  • rm -fr code
  • mv simple-php-website code
  1. Restart the Docker Compose
  • docker-compose restart
  1. Navigate to the browser again. You will see Simple PHP Webpage

About

Docker setup for PHP applications using PHP7-FPM and Nginx

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages