Skip to content

Docker setup for PHP applications using PHP7-FPM and Nginx

Notifications You must be signed in to change notification settings

valglez/dockerised-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Docker setup for PHP applications using PHP7-FPM and Nginx described in http://geekyplatypus.com/dockerise-your-php-application-with-nginx-and-php7-fpm/

Instructions

  1. Checkout the repository
  • Create a record in your hosts file to point php-docker.local to your Docker environment
  • Run docker-compose up
  • Navigate to php-docker.local:8080 in a browser
  • Navigate to localhost:8080

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

Example of activated PHP logging - https://github.com/mikechernev/dockerised-php/tree/feature/log-to-stdout

Releases

No releases published

Packages

No packages published

Languages

  • PHP 60.0%
  • Hack 30.2%
  • Dockerfile 9.8%