Skip to content

docker-compose setup to run php5.6 or php7 with php-fpm via nginx and mysql

License

Notifications You must be signed in to change notification settings

devigner/docker-compose-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose-php

docker-compose setup to run latest PHP 7 under Nginx with every container outputting it's logging to the docker daemon.

Purpose

Create the ultimate development environment

Install

Install docker and docker-compose

Run

$ git clone https://github.com/devigner/docker-compose-php.git
$ cd docker-compose-php
$ docker-compose build
$ docker-compose up -d

Test

Open url http://localhost and you will see a phpinfo page

http/2

Copy .env.dist to .env and fill in the obvious information

Open url https://example.com and you will see a phpinfo page running in http/2

About

docker-compose setup to run php5.6 or php7 with php-fpm via nginx and mysql

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages